protected void FvInspectionCheckListMaster_Load(object sender, EventArgs e) { if (FvInspectionCheckListMaster.CurrentMode == FormViewMode.Insert) { ((TextBox)FvInspectionCheckListMaster.FindControl("txtDescriptionIns")).Text = ""; ((CheckBox)FvInspectionCheckListMaster.FindControl("c")).Checked = false; } }
protected void Button1_Click(object sender, EventArgs e) { ((IGRSS_Default)this.Master).HideStatusMessage(); mvInspectionCheckListMaster.SetActiveView(mvInspectionCheckListMaster.Views[1]); FvInspectionCheckListMaster.ChangeMode(FormViewMode.Insert); }
protected void GridView1_SelectedIndexChanged1(object sender, EventArgs e) { mvInspectionCheckListMaster.SetActiveView(mvInspectionCheckListMaster.Views[1]); FvInspectionCheckListMaster.ChangeMode(FormViewMode.Edit); }