protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { objCommonClass.BindRegion(ddlRegion); objCCCMaster.BindBranchCode(ddlBranch); objCommonClass.BindUnitSno(ddlProductDivison); objCommonClass.BindDataGrid(gvComm, "uspMisDetail", true); } System.Threading.Thread.Sleep(int.Parse(ConfigurationManager.AppSettings["AjaxPleaseWaitTime"])); }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { objCommonClass.BindRegion(ddlRegion); //objCCCMaster.BindBranchCode(ddlBranch); objCommonClass.BindUnitSno(ddlProductDivison); objCommonClass.BindDataGrid(gvComm, "uspMisDetail", true, sqlParamSrh, lblRowCount); ViewState["Column"] = "Complaint_RefNo"; ViewState["Order"] = "ASC"; } System.Threading.Thread.Sleep(int.Parse(ConfigurationManager.AppSettings["AjaxPleaseWaitTime"])); }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { objCommonClass.BindUnitSno(DdlProdDiv); objCommonClass.BindState(DdlState, 1); ObjFeedbackResponse.BindFeedbackType(DDlServiceRequest); ListItem Li = DDlServiceRequest.Items.FindByValue("1"); // hide Breakdown/Complaint DDlServiceRequest.Items.Remove(Li); txtFromDate.Text = DateTime.Today.AddDays(-1).ToString("MM/dd/yyyy"); txtToDate.Text = DateTime.Today.ToString("MM/dd/yyyy"); DdlProdDiv.Items[0].Value = "0"; DdlState.Items[0].Value = "0"; btnSearch_Click(btnSearch, null); } }