This sample will demonstrate how to create the custom style for Datagrid and how to format the column in Silverlight Datagrid.
Download : SL2DataGridWithStyle.zip (520 KB)

This sample will demonstrate how to create the custom style for Datagrid and how to format the column in Silverlight Datagrid.
Download : SL2DataGridWithStyle.zip (520 KB)

If i download the zip and load it into VS2008, I get errors because the property “Name” isn’t qualified in the x xml namespace. Is there something I need to configure on my end or do I just need to qualify each occurrence of “Name”? Thanks — Tom
Link | May 9th, 2008 at 5:48 am
Hello Tom,
No need to configure on your end. Just download and extract it in your machine. then, open it in VS 2008.. That’s all…
Did you modify something? Are you getting this error at runtime or design time? Can you give me full error message?
Link | May 9th, 2008 at 6:31 am
Hi Tom,
You can leave those errors… If you take a look at the sourcecode (MixControl) from Microsoft, you will see the same error. Just take a look at generic.xaml from Controls.Data project..
I think it’s by-design issue so far… You will have to leave them … Please try to compile and run the app… You will able to do that without any problemm..
Link | May 9th, 2008 at 6:54 am
Wöchentliche Rundablage: ASP.NET MVC, Silverlight 2, TDD, WPF, jQuery… | Code-Inside Blog wrote:
[...] Silverlight 2 (beta1): Styling the Datagrid & Formating Datagrid Date Column [...]
Link | May 14th, 2008 at 4:50 am
Weekly Links: ASP.NET MVC, Silverlight 2, TDD, WPF, jQuery… | Code-Inside Blog International wrote:
[...] Silverlight 2 (beta1): Styling the Datagrid & Formating Datagrid Date Column [...]
Link | May 14th, 2008 at 4:51 am
otherslikeyou.com » links for 2008-08-13 [delicious.com] wrote:
[...] Silverlight 2 (beta1): Styling the Datagrid & Formating Datagrid Date Column (tags: silverlight) [...]
Link | August 13th, 2008 at 9:30 am
Hi,
I am working with silverlight 2.0. While opening the solution it show that “This project was developed previous version of silverlight. Do you to upgrade now”. If click yes it shows error in grid column name. Please upgrade the project
Thank you.
Link | April 18th, 2009 at 3:10 am