// Cách tạo lỗi Exception // NotImplementedException innerException = new NotImplementedException("NoReport"); // throw new NotImplementedException("This message has been generated for a GetCallbackErrorMessage() method demonstration.", innerException); //protected override void InitializeCulture() //{ // if (!string.IsNullOrEmpty(GetDXCurrentLanguageValue())) // { // //for regional server standards // Culture = GetDXCurrentLanguageValue(); // //for DevExpress localizable strings // UICulture = GetDXCurrentLanguageValue(); // } //} protected void Page_Load(object sender, EventArgs e) { if (HttpContext.Current.Session["Log"] == null) { HttpContext.Current.Session["Log"] = ""; } ASPxWebControl.RegisterBaseScript(this); GridViewFeaturesHelper.SetupGlobalGridViewBehavior(GridView); DemoHelper.Instance.ControlAreaMaxWidth = Unit.Pixel(1300); UpdatePageToolbarEnable(); if (!IsPostBack) { HttpContext.Current.Session["isActBloChanged_Com"] = true; HttpContext.Current.Session["isCloneRow_Com"] = false; HttpContext.Current.Session["isDetailRow_Com"] = false; List <MenuInfo> menuItems = StatusProvider.GetMenuList("Request", "Tình trạng HS"); //FiltersNavBar.BuildNavBarItems(menuItems); } if (IsCallback) { } }
protected void Page_Load(object sender, EventArgs e) { GridViewFeaturesHelper.SetupGlobalGridViewBehavior(GridView); DemoHelper.Instance.ControlAreaMaxWidth = Unit.Pixel(1300); //if (!IsPostBack) //GridView.StartEdit(2); }
// Cách tạo lỗi Exception // NotImplementedException innerException = new NotImplementedException("NoReport"); // throw new NotImplementedException("This message has been generated for a GetCallbackErrorMessage() method demonstration.", innerException); //protected override void InitializeCulture() //{ // if (!string.IsNullOrEmpty(GetDXCurrentLanguageValue())) // { // //for regional server standards // Culture = GetDXCurrentLanguageValue(); // //for DevExpress localizable strings // UICulture = GetDXCurrentLanguageValue(); // } //} protected void Page_Load(object sender, EventArgs e) { if (HttpContext.Current.Session["Log"] == null) { HttpContext.Current.Session["Log"] = ""; } ASPxWebControl.RegisterBaseScript(this); GridViewFeaturesHelper.SetupGlobalGridViewBehavior(GridView); DemoHelper.Instance.ControlAreaMaxWidth = Unit.Pixel(1300); UpdatePageToolbarEnable(); if (!IsPostBack) { HttpContext.Current.Session["isActBloChanged_Com"] = true; HttpContext.Current.Session["isCloneRow_Com"] = false; HttpContext.Current.Session["isDetailRow_Com"] = false; } if (IsCallback) { } }