Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         RefererValidationProvider.CheckMainPageReferer();
         Page MainForm = this;
         Ajax.Utility.GenerateMethodScripts(MainForm);
         this.SetCurrentUser();
         CacheSettingsProvider.ClearCache();
         this.CreateAccessNotAllowdNavBarItemsList();
         this.GetCurrentLangID();
         this.InitializeSkin();
         ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
     }
 }
Beispiel #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.CheckApplicationIsAvailable();
            if (!Page.IsPostBack)
            {
                ScriptHelper.InitializeScripts(this.Page, typeof(Scripts));
                RefererValidationProvider.CheckMainPageReferer();

                Ajax.Utility.GenerateMethodScripts(this);
                this.SetCurrentUser();
                this.CSP.ClearCache();
                this.GetCurrentLangID();
                this.InitializeSkin();
            }
            tlbLogout.ItemCommand += new ComponentArt.Web.UI.ToolBar.ItemCommandEventHandler(tlbLogout_ItemCommand);
        }