Last post Nov 09, 2010 11:44 AM by gijigae
Nov 08, 2010 11:20 AM|gijigae|LINK
In the "Details" screen, when a user clicks on the "Edit" button, the fields are becoming editable and the button label changed to "Update".
Upon clicking on the "Update" button, the screen is navigated away from the "Details" screen and it moves to the "List" screen.
If I want to stay in the "Details" screen after Update, what should I do?
Nov 09, 2010 03:55 AM|sjnaughton|LINK
Hi Gijigae, try commenting out the ItemUpdated body and add the Updated event to the Data Source see code below, you can do similar from insert using the Inserted event.
protected void DetailsView1_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e)
//if (e.Exception == null || e.ExceptionHandled)
protected void DetailsDataSource_Updated(object sender, LinqDataSourceStatusEventArgs e)
if (e.Exception == null || e.ExceptionHandled)
Nov 09, 2010 11:44 AM|gijigae|LINK
Thanks for the reply!
I tried out your sample and modified data is stored, but the screen remains in an "Edit" screen.
Here is a URL that I captured after clicking on the "Update" button.
Have any idea why it stayed on the Edit screen when we redirected it to the Details screen (PageAction.Details)?