How to uncheck the checkbox inside GridViewSelectColumn

4 posts, 0 answers
  1. Puja
    Puja avatar
    8 posts
    Member since:
    Jan 2012

    Posted 16 Jan 2012 Link to this post

    i am a newbie to telerik. I want to stop the user to select some of the item so i have disable the cell which is having GridViewSelectColumn but after that also on selection of that row it is getting checked how to uncheck that please help me 
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 16 Jan 2012 Link to this post

    Hi,

    You could handle the selection when the SelectionChanging event of the RadGridView is raised?

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Puja
    Puja avatar
    8 posts
    Member since:
    Jan 2012

    Posted 17 Jan 2012 Link to this post

    Thank you for the reply, but i can not do that in Selection_Changing event. I have to bind this to a property like "IsSelected" and if this property is true it should be checked otherwise unchecked. i have also tried to create a new class which is inherited from GridViewSelectColumn  and bind the property to IsChecked but its not working .
  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 17 Jan 2012 Link to this post

    Hello,

     This column is already bound to the IsSelected property of GridViewRow. If your scenario is different you should create your own custom column for selection.

    Please refer to our demos and documentation for more info how to create custom columns.

    Greetings,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top