I am trying to delete a selected gridview row using LINQ (No LINQDataSource).
When the selection is changed, the detailsview binding is changed also. I can add a new
I was able to resolve this issue by executing databind() on the gridview and datasource during updatepanel postback.
protected void UpdatePanel1_Load(object sender, EventArgs e)
{
GridView1.DataBind();
LinqDataSource1.DataBind();
}
I refresh updatepanel each time my selection index changes and it was able to resolve the conflicts.
Hope this helps.