Hi,
I have an asp.net c# web app with a gridview inside it. I wanted to handle gridview_rowediting, so this is what I have so far:
protected void grid_RowEditing(object sender, GridViewEditEventArgs e)
{
grid.EditIndex = e.NewEditIndex;
grid.DataBind();
}
The grid displays search results from a database on the web page. I thought this would work, but what this does is it shows me the EmptyDataText and if I click the search button again, it then shows me the row in the 'edit mode'. Why does it do this? please help Thank you.