RadGridView.SelectedRows.Count Bug?

4 posts, 0 answers
  1. Judy
    Judy avatar
    12 posts
    Member since:
    Apr 2008

    Posted 25 Jun 2008 Link to this post

    Forgive me if this issue has been raised before. 

    I've got a RadGridView (Q2 2008) bound to an object datasource.  On initial display of the RadGridview, there are no rows because I'm forcing the user to enter some search criteria before the grid is populated.  In its initial state, SelectedRows.Count = 0.  Correct.  If the user then enters search criteria that returns rows, the grid is rebound and the first row is selected thus setting SelectedRows.Count = 1.  Correct again.

    If the user then changes the search criteria and that criteria returns no rows, the grid is rebound and no rows appear just as it should.  However, SelectedRows.Count still = 1.  Not correct.  This appears to be a bug to me.  Is it?
  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 27 Jun 2008 Link to this post

    Hi Judy,

    Thank you for the reporting this issue.

    We will address it for the Q2 2008 release planned for the end of July. Currently, you may use the Clear method to reset the SelectedRows collection.

    Your Telerik points have been updated. Contact me again if you need any further assistance.

    Sincerely yours,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Ab
    Ab avatar
    3 posts
    Member since:
    Dec 2012

    Posted 04 Jun 2013 Link to this post

    v.2013.1.321.40 This bug persists

    2 records selected - count = 1
    3 records selected - count = 2
    and so on ...

    Is there a workaround / patch / fix for this?
  4. Peter
    Peter avatar
    1160 posts

    Posted 07 Jun 2013 Link to this post

    Hello Ab,

    Thank you for writing.

    I was not able to reproduce the described behavior on my side. Please, refer to the attached screenshot from my attempts. It seems that there is something specific that I am missing. Could you send a sample project that reproduce the issue. It will help me understand what causes it and help you resolve it.

    I am looking forward to your reply.

    RadChart for WinForms is obsolete. Now what?
Back to Top