I have a DetailView in Edit mode as the default. Once the ItemUpdated event fires, I want to display a message (which is working fine, btw) and change the DetailView to ReadOnly mode.
Protected void dvConfirm_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e)
lblMessage.Text="The appointment has been scheduled";
The view mode does not change. Any suggestions why this is not working. Thanks
View Complete Post