how to put a checkbox in header of a column for select All/Deselect all feature

1 posts, 0 answers
  1. sreelakshmi T
    sreelakshmi T avatar
    13 posts
    Member since:
    May 2010

    Posted 19 Jul 2012 Link to this post

    Hi All,

    I want to add check box in one column all rows and also in header for that column.I have tried using GridViewSelectColumn and by setting SelectionMode to Extended select all and deselect all works but the problem is consider a situtaion i have selected all the rows by checking the checkbox in the header, then if i select a row from grid all the checkboxes become unselectedand the selected row check box becomes checked.i donot want the check box checing to change on selected row it should chang only when we check or uncheck the checkbox.

    Any idea how to do this.

Back to Top