Header Checkbox issue in GridView
-
Some columns of a gridview are dynamically bound. The gridview has a header checkbox used for Select All function. During dynamic binding the header checkbox is not rendering. There is some server code also in its Checked event. So how to make that header checkbox visible during dynamic binding of “columns” in the gridview.
sooraj
-
Some columns of a gridview are dynamically bound. The gridview has a header checkbox used for Select All function. During dynamic binding the header checkbox is not rendering. There is some server code also in its Checked event. So how to make that header checkbox visible during dynamic binding of “columns” in the gridview.
sooraj
Hi, I have done it in the datagrid. You can add the checkbox control to the header on the itemdatabound() event, there itself add an event to the checkbox (check event). There you can make all the item checkboxes as selected. Ram