Grid.SelectedIndexes is empty when clicking select button first time

2 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 11 Feb 2009 Link to this post


    My code does not use a RadAjaxManager or panel to async postback.  It's a pretty standard grid definition, using filtering and sorting, and include a select button.

    When clicking the select button, the very first time the SelectedIndexChanged event fires and the command name is select, but the selectedindexes collection is empty.  Any time after that, it works fine.

    Any ideas why?

  2. Daniel
    Daniel avatar
    4936 posts

    Posted 12 Feb 2009 Link to this post

    Hello Brian,

    Your item will be selected after the SELECT command.  To access the desired collection I suggest you use SelectedIndexChanged handler.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Telerik UI for ASP.NET Core is out
Back to Top