Start Aspxgridview not updating

Aspxgridview not updating

Hi I am getting some issues regarding ASPx Gridview.

Note: Iam using gridview with in the gridview (mastergrid and gridview in the detailrow of mastergrid).

now i want to reload the page on row_updating event of detailgridview.

protected void Grid View1_Row Updating(object sender, Grid View Update Event Args e) For more details then refer to this link below using an Sql Data Source that allows updating, as his code shows, it should automatically rebind after a successful update. Row Updating event handler, you would be binding before the update has occured. The weirdest thing is, I have two buttons in my grid - 'Enable' and 'Disable', where only one is displayed at a time based on the value of a bit field in my database and simply toggle this value when clicked.

I am adding Grid Check Box Columns in the columns collection.

I tried response.redirect(""); but it shows /Response.

Redirect cannot be called in a Page callback./ So, what is the right method to reload the page on rowupdating event.

Based on your aspx markup I see that the ASPx Grid View's Data Source is set at runtime.