protected void RdbChkSetno_CheckedChanged(object sender, EventArgs e) { EDDIV.Visible = false; VNDIV.Visible = true; btnSubmit.Text = "Show by Voucher"; TxtSetNo.Focus(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindBr(); ddlBrCode.SelectedValue = Session["BRCD"].ToString(); TxtEntryDate.Text = Session["EntryDate"].ToString(); TxtSetNo.Focus(); } }
protected void Page_Load(object sender, EventArgs e) { try { if (!IsPostBack) { if (Session["UserName"] == null) { Response.Redirect("FrmLogin.aspx"); } TxtEntryDate.Text = Session["EntryDate"].ToString(); TxtEntryDate.Enabled = false; TxtSetNo.Focus(); } } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }
protected void RdbChkBoth_CheckedChanged(object sender, EventArgs e) { EDDIV.Visible = true; VNDIV.Visible = true; TxtSetNo.Focus(); }