protected void FormView_Inquiry_ItemCommand(object sender, FormViewCommandEventArgs e) { switch (e.CommandName) { case "Back": Multiview_Inquiry.SetActiveView(ViewGrid); GridView_Inquiry.DataBind(); break; } }
protected void Button_new_Click(object sender, EventArgs e) { Multiview_Inquiry.SetActiveView(Multiview_Inquiry.Views[1]); FormView_Inquiry.ChangeMode(FormViewMode.Insert); }