This is a migrated thread and some comments may be shown as answers.
Silverlight OnItemDataBound?
1 Answer 34 Views
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 28 Oct 2010, 06:24 PM
Hi all,

In the SL version of the rad grid, what is the equivalent technique or event to use inorder to 'do stuff' while a a datagrid row is binding? I have a GridView which is using the heirarchical child table feature; I am using a my own custom template. The child table has a combobox column which i want to apply the ItemsSouce to via code, having never been able to get this to work using a static resource in XAML.

How i would normally acheive what i am after is:
For each Row in Grid
1) Find the child datagrid
2) Retrieve combobox column
3) Specify the appropriate Items Source

With the SL GridView, can anyone clarify how this can be done?

Cheers,

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 29 Oct 2010, 08:50 AM
Hello Adam,

I am sending you a sample project illustrating how set the source of the GridViewComboBoxColumn in xaml using a StaticResource. Considering the steps you take for defining the ItemsSource, why don't you use the Loading/Loaded event of the grid inside the child table ? 
 

Kind regards,
Maya
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
Asked by
Adam
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or