0
kicks
Hide GridView columns in normal mode and visible in edit mode
This example shows how to hide columns of gridview in normal display mode and set them to visible when gridview is in edit mode
In this example i m hiding the ID column when gridview loads in normal mode and setting this column to visible when user clicks on the edit link button of gridview
for this i m using ObjectDataSource to populate the grid amd hiding the columns in RowDataBound Event of gridview