I am using grid view that shows all the tasks for log in user. User can check/unchecked tasks and based on check box status, record is updated on grid view.
My grid view has template field which has header template and item template. Header template contains check boxes and asp:button and item template contains check boxes. On check/unchecked of header template check boxes, all check boxes in item template are checked/unchecked. The purpose of asp:button is to update records on database based on check/unchecked status of rows.
What i wanted is on click of asp:button on header template, all records of grid view are to be fetched including check boxes checked status so that the check status can be updated on database.
I had used row command event of grid view. It fired on handler on click of button. However, I am not able to get records.
Which event is used to accomplish this? How can i do this.