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

SL equivalent to ItemDataBound

1 Answer 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 2
Iron
Iron
Pierre asked on 20 Jul 2010, 08:55 PM
Hi, I need to format some data at runtime. In the Ajax grid we got a ItemDataBound to do this. What is the equivalent in SL grid?

Thanks

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 21 Jul 2010, 08:19 AM
Hello Pierre,

You can use the IValueConverter interface to achieve the same functionality in Silverlight as follows:

<telerikGrid:GridViewDataColumn x:Name="MyColumn" Header="MyColumn"               DataMemberBinding="{Binding MyProperty, Converter={StaticResource  MyConverterConverter}}"/>
 

Sincerely yours,
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
Tags
GridView
Asked by
Pierre
Top achievements
Rank 2
Iron
Iron
Answers by
Maya
Telerik team
Share this question
or