protected void CADGrid_ItemDeleting(object sender, GridViewDeleteEventArgs u) { //Rebind the GridView and DataView to reflect changes to items CADGrid.DataBind(); CADDetails.DataBind(); //When item has been deleted, make the details and address grid invisible CADDetails.Visible = false; AddressGrid.Visible = false; }
protected void CADDetails_ItemUpdated(object sender, DetailsViewUpdatedEventArgs u) { //Update the DB to preserve similarity manager.SaveUser(); //Rebind the GridView and DataView to reflect changes to items CADGrid.DataBind(); CADDetails.DataBind(); }