Hiding Details view after update
By Jamsi • Mar 28th, 2008 • Category: ASP.NETI 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.
FREE NEWSLETTER -> Want Tech Tips Sent Straight to your Inbox?
Grab our Newsletter to Ensure your PC is Running Smooth!
Jamsi is currently studying a full time Bachelor of Computer/Business degree and working part time as an Internet Security Consultant.
Email this author | All posts by Jamsi























