Does anybody know how to hide all grid items in MastertableView and DetailTableVies after clicking on "Add new item" button?
I wont to Display only the insert form and hide all ofter GridView elements:
Thank you for your help.
Christopher
I wont to Display only the insert form and hide all ofter GridView elements:
protected void GrdTicketsItemCommand(object sender, GridCommandEventArgs e){ if (e.CommandName == RadGrid.InitInsertCommandName) { // show insert form works fine e.Item.OwnerTableView.EditFormSettings.UserControlName = "BackendControls/AddBillingAndTicket.ascx"; e.Item.OwnerTableView.EditFormSettings.EditFormType = GridEditFormType.WebUserControl; e.Item.OwnerTableView.InsertItem(); // How to hide all items in MasterTableView and all DetailsTables? // this doesn't work: foreach (GridDataItem item in GrdTickets.Items) item.Visible = false; }}Thank you for your help.
Christopher
