It seems that it is not possible to bind the visibility property of a DataGridTemplateColumn in Silverlight 4 still. I did some Googling and there seem to be a few posts suggesting it was to do with the fact that it was not a DependencyObject and how this would change in SL4 but it does not seem to be the case.
To work around it, I do i...
All the sample I come across are for forms authentication. I did manage to authenticate using windows, but the list of roles returned in the authenticated user is always empty.
In SL3 and previous version of RIA, user roles were populated with active directory security groups (worked for me). Now in SL4 it no more works.
...
I'm experimenting with the Silverlight 4 SDK DataPager. I have some code in my XAML that looks like this:
<sdk:DataPager
x:Name="dataPager1"
PageSize="100" />
As SOON as I paste that into my XAML the designer breaks with this odd message:
Error HRESULT E_FAIL has been returned from a call to a COM co...
Can someone please help me get this to work? I am trying not to use code behind as I'm putting a little test application together to test WCF Ria Services.
<my2:BusyIndicator IsBusy="{Binding ElementName=targetDomainDataSource}" BusyContent="{Binding}" DisplayAfter="0:0:0.1">
...
In Silverlight 4 application there are few images, both are displayed correctly in design mode, one is displayed correctly in run-time also:
<Image Height="180" Width="149" Source="../Picts/Field.png" />
Another one is not displayed in run-time:
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="5" Visibility="...
Hi,
I have a Silverlight application. I added an edmx files to host application and a DomainService class. So I can use all classes of edmx file in Silverlight app.
But I have an interface type that I want to use in Silverlight app.
How can I use it?
l.
...
Hi!
I've been trying to find a good advanced Silverlight 4 course, but can't really find anything. I've found this:
http://www.develop.com/training-course/silverlight-4
But the most interesting topics are only talked about in the course material, not in the actual course. The extra topics from this course which is of particular intere...
Hi,
I saw in Silverlight 4.0 Business application that is it possible to have all the strings in one resource file that you could , potentially, change depending of the user so that each user has its own experience (ie langauge for example)
I'de like to be able to do this in WPF also, so I though about moving that stuff from Silverlig...
hello,
i work on application which is CRM. i would when a new user register on my database, i create a new database. By exemple if name's user is "Toto", i create a database "Toto.SQL" and i register Toto.SQL in my user's database. When Toto connect the application must load it with Toto.SQL. Have an idea to make this ??
Thx
...
I was wondering if anyone knew where I could find some information on how to get some data from a SQL database into a ColumnSeries chart in Silverlight-4.0/C#-4.0. I have tried Googling this and I cannot find anything that describes this process at all. Is it just a matter of giving it a path or something in the "ItemSource" property?
...
I'd like to have Silverlight draw the blue "L" and "C" in the image below, preferably in a way that the thickness of the line is maintained and speeds/up slows/down at the correct locations to simulate a handwritten signature.
Can anyone point me to the right way to do this? Thanks!
...
For some reason i ca´t use this class (XmlSerialazer) on my application on C# silverlight,they jus´t don´t get recognized.
I am calling this librarys on my application
using System.Xml;
using System.Text;
using System.Xml.Serialization;
using System.IO;
I am pretty sure that all needed library is there, but still the problem why i can´t...
I have a poker blind timer Silverlight app that is loosing time (after running for 1 hour 40 minutes it had lost 3 minutes).
I use a DispatcherTimer timer in my Tournament class and on every tick I raise an event which the UI subscribes to to update the screen (with a DataBound Textblock). I then do checks to see if the blind is over o...
I would appreciate some help with the following issue - you can see this problem on my live poker blinds timer:
The main clock (Blind timer countdown) starts off on 20:00 and then jumps to 19:58. The Level timer (which counts up at top of screen) - starts off in synch and is therefore a second out.
Here is my code: XAML:
TextBlock Tex...
When using the Silverlight DatePicker, it opens on days view by default. When a user has to select his birthday, it would be a lot user-friendly if he could first select the year and drill down immediately without going up the tree first. I can guess that about 70% of our users won't even figure out how to use the calendar headers to go ...
I'm looking for an easy way to set ClickMode="Pressed" on every Control in my Silverlight Application (that inherits from ButtonBase obviously).
The solution should also access any ButtonBase-Control that is part of a controltemplate like ComboBox of SilverlightToolkit.
Do i have to create a custom theme for this? If yes, how do i reus...
Hello,
i want to print something in Landscape Mode. Is there any Option to do this? Or must I create a Vertical Page and rotate all Controls?
if there is no Option for Landscape Mode, how can i Rotate a DataGrid 90° ?
i hope we can finde a solution...
Thanks.
...
I'm trying to display a list of Notes. I have an ItemsControl which is bound to a collection of NoteViewModel. So in the data template of the items control I want to create a NoteControl (user control for displaying a note) and bind its ViewModel property to the NoteViewModel in the collection.
I currently have this:
<ItemsContro...
Does anyone know, if there is a (free/open source) "Fisheye (Menu) control" for Silverlight 4.0 respectively a control which is similar to these examples:
http://blogs.nitobi.com/alexei/media/demos/feye1/2.html
http://www.nitobi.com/products/fisheye/alignment/
http://marcgrabanski.com/articles/fisheye-javascript-menu
...
This is stemmed from another question I had where the solution had me using ObjectCollection. I have never used an ObjectCollection before and was wondering if anyone knew where I could find more info on it?
Everywhere I look talks briefly at best about the ObjectCollection, but never really says much about it. I know it is another co...