How to avoid the default check box selection of GridViewSelectColumn

5 posts, 0 answers
  1. Gopinath
    Gopinath avatar
    63 posts
    Member since:
    Sep 2011

    Posted 11 Dec 2012 Link to this post

    Hi,

    In my current scenario i am using GridViewSelectColumn to display the checkboxes. But when the grid loaded by default the first row's check box is getting selected. 

    I want avoid that behavior. How that can be implemented.

    Please suggest me the way.

    Thanks
    Gopinath 
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 11 Dec 2012 Link to this post

    Hi,


    The reason for the CheckBox to be checked would be that the first row is selected. Have you tried setting the IsSynchronizedWithCurrentItem="False" for the RadGridView?

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Gopinath
    Gopinath avatar
    63 posts
    Member since:
    Sep 2011

    Posted 11 Dec 2012 Link to this post

    Thanks a lot Didie .

    It's fine now. I have one question. Can please let me know how to avoid the check selection when the TAB key is pressed.

    Thanks
    Gopinath
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 11 Dec 2012 Link to this post

    Hello,

    Please check this forum thread where a similar topic has been discussed.

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Gopinath
    Gopinath avatar
    63 posts
    Member since:
    Sep 2011

    Posted 11 Dec 2012 Link to this post

    Hi,

    CanUserSelect="False"  works only at the time loading .

    But i want to avoid the check selection when the TAB key is pressed after the Grid Loaded.


    I mean if i select a row manually and after that if i am pressing tab, it moves to the next row and select the check box. Moving to the next row is fine. But i dont want the check box to be selected.


    Thanks
    Gopinath
Back to Top
DevCraft banner