protected void FormView_AppealRegister_ItemInserting(object sender, FormViewInsertEventArgs e) { DropDownList DropDownOffice = FormView_AppealRegister.FindControl("DropDownList_office") as DropDownList; e.Values["KacheriOffice"] = DropDownOffice.SelectedValue; DropDownList DropDownVersus = FormView_AppealRegister.FindControl("DropdownList_Versus") as DropDownList; e.Values["Versus"] = DropDownVersus.SelectedValue; RadioButtonList RadioButtonlist_continue = FormView_AppealRegister.FindControl("RadioButtonList_continue") as RadioButtonList; e.Values["Continue_remand"] = Convert.ToBoolean(RadioButtonlist_continue.SelectedValue); }
protected void Button_new_Click(object sender, EventArgs e) { Multiview_AppealRegister.SetActiveView(Multiview_AppealRegister.Views[1]); FormView_AppealRegister.ChangeMode(FormViewMode.Insert); }