Hi
I have a problem with my ASP.Net Gridview Control.
I have a GridView that has a variable number of columns.
First two columns are permanent.
Remaining CheckBox columns that contain TemplateFields are dependant on the number of rows of another datatable.
I have also managed to show checkboxes in the datagrid on the basis of another data table's rows.
But problem is this:
1) When I click the Edit button (programmatical ly added) first time, the checkboxes disappear as well as the gridviews mode is not changed to edit.
2) When I click second time on the edit button, the mode is changed to EditMode but checkbox columns are still empty.
Can anyone explain?
I have also written this.GridVide1. EditIndex=e.New Index; in the RowEditing event of the gridview.
Pls help me
Regards and thanx in advance
I have a problem with my ASP.Net Gridview Control.
I have a GridView that has a variable number of columns.
First two columns are permanent.
Remaining CheckBox columns that contain TemplateFields are dependant on the number of rows of another datatable.
I have also managed to show checkboxes in the datagrid on the basis of another data table's rows.
But problem is this:
1) When I click the Edit button (programmatical ly added) first time, the checkboxes disappear as well as the gridviews mode is not changed to edit.
2) When I click second time on the edit button, the mode is changed to EditMode but checkbox columns are still empty.
Can anyone explain?
I have also written this.GridVide1. EditIndex=e.New Index; in the RowEditing event of the gridview.
Pls help me
Regards and thanx in advance
Comment