I had the need to hide a detailsview after an update. Forget using visible=false, this just hides it permanently!
Try setting the datagrid selectedindex = -1
protected void dvDetailsView_Updated(Object sender, System.Web.UI.WebControls.DetailsViewUpdatedEventArgs e)
{
gvGridview.SelectedIndex = -1;
}
No related posts.
Awesome — thanks!