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();
}

2 comments:

Avery Parker said...

As such I know this but still it's good to see that you are sharing even simple things which can prove helpful to someone.

Melick Rajee said...

@ Avery Parker

Thank You very much Avery!