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