How Can I get the selectRow

2 posts, 0 answers
  1. weng jinbao
    weng jinbao avatar
    1 posts
    Member since:
    May 2010

    Posted 12 Jun 2010 Link to this post

    I  am using RadGridView  I want to Dynamic Modify the rowstyle such as FontWeight of rowstyle. when the databinding to RadGridView  .I set all rows FontWeight  to FontWeights.Normal. when I edit the selectitem i want set the FontWeight of  selectrow to FontWeights.Bold.

    How can i to do this?

       private void radButton1_Click(object sender, EventArgs e)
        RadGridView .SelectRow.RowStyle=new Setter(GridViewRow.FontWeightProperty, FontWeights.Bold);

    I can Get the SelectItem  but how to Get the SelectRow?


  2. Vlad
    Vlad avatar
    11100 posts

    Posted 14 Jun 2010 Link to this post


     You can use ItemContainerGenerator similar to this demo.

    Sincerely yours,
    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.
Back to Top