コード例 #1
0
ファイル: FeeMaster.aspx.cs プロジェクト: UrviGandhi/IGRSS
 protected void btnNew_Click(object sender, EventArgs e)
 {
     ((IGRSS_Default)this.Master).HideStatusMessage();
     MvFeeMaster.SetActiveView(MvFeeMaster.Views[1]);
     FvFeeMaster.ChangeMode(FormViewMode.Insert);
     ((TextBox)FvFeeMaster.FindControl("txtDescriptionIns")).Text = "";
     ((TextBox)FvFeeMaster.FindControl("txtNameIns")).Text        = "";
     ((TextBox)FvFeeMaster.FindControl("txtAmountIns")).Text      = "";
 }
コード例 #2
0
ファイル: FeeMaster.aspx.cs プロジェクト: UrviGandhi/IGRSS
 protected void GvFeeMaster_SelectedIndexChanged(object sender, EventArgs e)
 {
     MvFeeMaster.SetActiveView(MvFeeMaster.Views[1]);
     FvFeeMaster.ChangeMode(FormViewMode.Edit);
 }