protected void Page_Load(object sender, EventArgs e) { AjaxPro.Utility.RegisterTypeForAjax(typeof(PublicAjaxMethod)); if (!IsPostBack) { YxBtn.HidFormID = "cInvCType"; YxBtn.GetViewState(divSel); GetTitle(); ASPxGridView1.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { YxBtn.HidFormID = "Report1"; ASPxDateEdit1.Date = DateTime.Parse(DateTime.Now.AddMonths(-1).ToString("yyyy-MM") + "-01"); ASPxDateEdit2.Date = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")); YxBtn.GetViewState(divSel); GetTitle(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { YxBtn.HidFormID = "Report2"; ASPxDateEdit1.Date = DateTime.Parse(DateTime.Now.Year.ToString() + "-01-01"); ASPxDateEdit2.Date = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")); YxBtn.GetViewState(divSel); GetTitle(); ToSelect(null, null); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { YxBtn.HidFormID = "Report3"; ASPxTextBox1.Value = DateTime.Now.Year.ToString(); MonthEdit1.Month = DateTime.Now.Month; YxBtn.GetViewState(divSel); GetTitle(); ToSelect(null, null); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { YxBtn.HidFormID = "FrmLookUpDataList"; if (ASPxComboBoxLookUpType.Value == null) { ASPxComboBoxLookUpType.Value = "1"; } YxBtn.GetViewState(divSel); GetTitle(); //GetGrid(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { YxBtn.HidFormID = "Report5"; ASPxTextBox1.Value = DateTime.Now.Year.ToString(); ASPxTextBox2.Value = DateTime.Now.Year.ToString(); MonthEdit1.Month = DateTime.Now.AddMonths(-1).Month; MonthEdit2.Month = DateTime.Now.Month; if (MonthEdit2.Month == 1) { ASPxTextBox1.Value = DateTime.Now.AddYears(-1).Year.ToString(); } YxBtn.GetViewState(divSel); GetTitle(); } }