protected void Page_Load(object sender, EventArgs e) { imgLogo.ImageUrl = String.Format("~/App_Themes/Default/images/logo_{0}.png", LanguageUtil.GetLanguage()); var url = new UrlHelper("~/Pages/User/ReportsConfigEx.aspx"); url["TargetUrl"] = LmisCommonUtil.ConvertToBase64("~/Pages/User/DashboardEx.aspx"); btnConfiguration.NavigateUrl = url.ToEncodedUrl(); FillCategories(); FillReports(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { FillReportsTree(); } FillCategories(); FillReports(); var targetUrl = Convert.ToString(RequestUrl["TargetUrl"]); categoriesControl.TargetUrl = LmisCommonUtil.ConvertFromBase64(targetUrl); }
protected void Page_Load(object sender, EventArgs e) { imgLogo.ImageUrl = String.Format("~/App_Themes/Default/images/logo_{0}.png", LanguageUtil.GetLanguage()); if (!IsPostBack) { FillReportsTree(); } FillCategories(); FillReports(); var targetUrl = Convert.ToString(RequestUrl["TargetUrl"]); categoriesControl.TargetUrl = LmisCommonUtil.ConvertFromBase64(targetUrl); }
protected void Page_Load(object sender, EventArgs e) { //var urlHelper = new UrlHelper("~/Pages/User/DashboardEx.aspx"); //foreach (var pair in RequestUrl) // urlHelper[pair.Key] = pair.Value; //btnFullscreen.NavigateUrl = urlHelper.ToEncodedUrl(); var url = new UrlHelper("~/Pages/User/ReportsConfig.aspx"); url["TargetUrl"] = LmisCommonUtil.ConvertToBase64("~/Pages/User/Dashboard.aspx"); btnConfiguration.NavigateUrl = url.ToEncodedUrl(); FillCategories(); FillReports(); }