This is a migrated thread and some comments may be shown as answers.

[Solved] Setters in column's CellStyle return null value

2 Answers 132 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michał Polak
Top achievements
Rank 1
Michał Polak asked on 17 Feb 2010, 09:50 PM
Hi
I'm setting the CellStyle of columns programatically. Everything works fine, and the style is applied, columns look like they should. But later I need to retrive the style that I set. Iterating over CellStyle.Setters collection returns all the setters I added, but all of them have null Value. This is the method I used in AgDataGrid and it worked, so I'm assuming this is a RadGridView bug. Is there any other way to retrieve setter values?

Best regards,
Michal

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Feb 2010, 06:55 AM
Hi Michal,

Can you post more info when and how these styles are set? Do you have different experience with standard Silverlight DataGrid? More info about the grid version will be appreciated as well.

All the best,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Michał Polak
Top achievements
Rank 1
answered on 18 Feb 2010, 04:27 PM
OK I tried it with some other controls and it seems that they behave the same way, so maybe it was just AgDataGrid that allowed reading of setter values.
Sorry for confusion.

Best regards,
MichaƂ
Tags
GridView
Asked by
Michał Polak
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Michał Polak
Top achievements
Rank 1
Share this question
or