protected void Page_Load(object sender, EventArgs e) { try { if (!IsPostBack) { BindBr(); ddlBrCode.SelectedValue = Session["BRCD"].ToString(); TxtMM.Focus(); } string BKCD = RS.FnBl_GetBANKCode(RS); if (BKCD != null) { ViewState["BANKCODE"] = BKCD; } else { ViewState["BANKCODE"] = "0"; } TxtMM.Focus(); } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindBr(); TxtMM.Focus(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindBr(); ddlBrCode.SelectedValue = Session["BRCD"].ToString(); TxtMM.Focus(); } }
protected void ddlBrCode_SelectedIndexChanged(object sender, EventArgs e) { try { DdlRecDiv.SelectedValue = "1"; BindRecDiv(); BindRecDept(); TxtMM.Focus(); } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { TxtMM.Focus(); string BKCD = RS.FnBl_GetBANKCode(RS); if (BKCD != null) { ViewState["BANKCODE"] = BKCD; } else { ViewState["BANKCODE"] = "0"; } } }
protected void TxtMM_TextChanged(object sender, EventArgs e) { try { int Len = 0; Len = TxtMM.Text.Length; if (Len > 2 || Convert.ToInt32(TxtMM.Text) > 12) { WebMsgBox.Show("Inavlid month, Enter valid month....!", this.Page); TxtMM.Text = ""; TxtMM.Focus(); } else { TxtYYYY.Focus(); } } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }
protected void TxtYYYY_TextChanged(object sender, EventArgs e) { try { int Len = 0; Len = TxtYYYY.Text.Length; if (Len != 4) { WebMsgBox.Show("Inavlid month, Enter valid month....!", this.Page); TxtYYYY.Text = ""; TxtMM.Focus(); } else { DdlRecDiv.Focus(); } } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }