Пример #1
0
 protected void BtnAddNew_Click(object sender, EventArgs e)
 {
     MvOfficeMaster.SetActiveView(MvOfficeMaster.Views[1]);
     FvOfficeMaster.ChangeMode(FormViewMode.Insert);
     FvOfficeMaster.DataBind();
 }
Пример #2
0
 protected void GvOfficeMaster_SelectedIndexChanged(object sender, EventArgs e)
 {
     MvOfficeMaster.SetActiveView(MvOfficeMaster.Views[1]);
     FvOfficeMaster.ChangeMode(FormViewMode.Edit);
 }