SelectedIndexChagned on RadGrid causing postback

2 posts, 0 answers
  1. sho
    sho avatar
    24 posts
    Member since:
    Mar 2007

    Posted 17 Aug 2011 Link to this post


    I am using selectedIndexChanged to select a single row of a RadGrid and in CustomGrid_SelectedIndexChange some code is written (say to populate one or more radgrid), so when  I doubleclick on the row it causes Postback. How can I getrid of the postback.

    Is there anyway to get rid of postback? Or any alternate for selectedindexchanged?

  2. Rory
    Rory avatar
    159 posts
    Member since:
    Jul 2007

    Posted 19 Aug 2011 Link to this post

    I'm not sure of your scenario but when I do something on a rowselect event of a grid without a postback I use the Grid's client event for OnRowSelected. There is also a client event for Double clicking called OnRowDbClick. Using these two events you can do something different like fire an ajax request to populate a grid or not for each grid click event.
  3. DevCraft R3 2016 release webinar banner
Back to Top