protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (Session["UserName"] == null) { Response.Redirect("FrmLogin.aspx"); } TxtFDate.Focus(); autoglname.ContextKey = Session["BRCD"].ToString(); // autoglname1.ContextKey = Session["BRCD"].ToString(); AutoGlname3.ContextKey = Session["BRCD"].ToString(); AutoGlname4.ContextKey = Session["BRCD"].ToString(); Hf_WorkingDt.Value = Session["EntryDate"].ToString(); BD.BindCalType(DdlCalcType); } ScriptManager.GetCurrent(this).AsyncPostBackTimeout = 50000; }