Friday, June 15, 2012

Grid View Need Two clicks to change to Edit Mode in Visual Studio

This is a common mistake I'm forgetting every time. so I thought to publish a post.

We need to bind the grid again after selecting the EditRowIndex.

protected void gridSettings_RowEditing(object sender, GridViewEditEventArgs e)
{
gridSettings.EditIndex = e.NewEditIndex;
loadReportGrid();
}
Post a Comment