SL equivalent to ItemDataBound

2 posts, 0 answers
  1. Pierre
    Pierre avatar
    212 posts
    Member since:
    Apr 2007

    Posted 20 Jul 2010 Link to this post

    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
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 21 Jul 2010 Link to this post

    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
  3. DevCraft banner
Back to Top