Esempio n. 1
0
    protected void GvEmployeeDetails_SelectedIndexChanged1(object sender, EventArgs e)
    {
        //OdsEmployeeMaster.SelectParameters["EmployeeID"].DefaultValue = GvEmployeeDetails.SelectedDataKey.Value.ToString();

        MvEmployeeMaster.SetActiveView(MvEmployeeMaster.Views[0]);
        FvemployeeMaster.ChangeMode(FormViewMode.Edit);
        //	FvemployeeMaster.ChangeMode(FormViewMode.ReadOnly);
    }
Esempio n. 2
0
 protected void GvEmployeeDetails_SelectedIndexChanged(object sender, EventArgs e)
 {
     //switch ((string) Session["Mode"])
     //{
     //    case "Verify":
     //MvEmployeeMaster.SetActiveView(MvEmployeeMaster.Views[0]);
     //FvemployeeMaster.ChangeMode(FormViewMode.Edit);
     //    break;
     //case "ReadOnly":
     MvEmployeeMaster.SetActiveView(MvEmployeeMaster.Views[2]);
     //fv  .ChangeMode(FormViewMode.ReadOnly);mmmmfdfdd11
     //        break;
     //}
 }
Esempio n. 3
0
 protected void CancelFvemployeeIns_Click(object sender, EventArgs e)
 {
     MvEmployeeMaster.SetActiveView(MvEmployeeMaster.Views[0]);
 }
Esempio n. 4
0
 protected void BtnAddNew_Click(object sender, EventArgs e)
 {
     MvEmployeeMaster.SetActiveView(MvEmployeeMaster.Views[0]);
     FvemployeeMaster.ChangeMode(FormViewMode.Insert);
 }
Esempio n. 5
0
 protected void CancelFvemployeeUpd_Click(object sender, EventArgs e)
 {
     MvEmployeeMaster.SetActiveView(MvEmployeeMaster.Views[1]);
     FvemployeeMaster.ChangeMode(FormViewMode.Edit);
 }
Esempio n. 6
0
 protected void BtnBack_Click(object sender, EventArgs e)
 {
     MvEmployeeMaster.SetActiveView(MvEmployeeMaster.Views[1]);
     FvemployeeMaster.ChangeMode(FormViewMode.ReadOnly);
 }