protected void btnAddNew_Click(object sender, EventArgs e) { Session["JobType"] = "Fasttrack"; Session["QuotationNo"] = ""; Session["SessionedJobNo"] = ""; ManageFormComponents("NEW"); //Session["Mode"] = "NEW"; string UserBranch = ""; HttpCookie reqCookies = Request.Cookies["userInfo"]; if (reqCookies != null) { UserBranch = reqCookies["UserBranch"].ToString(); txtEnteredBranchCode.Text = UserBranch; } ProposalUploadController proposalUploadController = new ProposalUploadController(); txtJobNo.Text = proposalUploadController.GetNewJobNoForFastTrack(UserBranch); txtJobNo.ForeColor = Color.White; Session["SessionedJobNo"] = txtJobNo.Text; }