private void SetPageLoadPart()
        {
            ApplicationController objAppController = new ApplicationController();

            if (!objAppController.CheckRequestExtension(Request))
            {
                CoreJs.IncludeLanguageCoreJs(this.Page);
                SagePageLoadPart();
            }
        }
Exemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     SetPageLoadPart();
     CoreJs.IncludeLanguageCoreJs(this.Page);
     Response.Cache.SetCacheability(HttpCacheability.NoCache);
     Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1));
     Response.Cache.SetNoStore();
     Response.AppendHeader("pragma", "no-cache");
     SageFrame.Version.SageFrameVersion app = new SageFrame.Version.SageFrameVersion();
     lblVersion.Text = string.Format("V {0}", app.FormatShortVersion(app.Version, true));
 }
Exemplo n.º 3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     SetPageLoadPart();
     CoreJs.IncludeLanguageCoreJs(this.Page);
     //if (!IsPostBack)
     //{
     Response.Cache.SetCacheability(HttpCacheability.NoCache);
     Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1));
     Response.Cache.SetNoStore();
     Response.AppendHeader("pragma", "no-cache");
     //}
 }
Exemplo n.º 4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     SetPageLoadPart();
     CoreJs.IncludeLanguageCoreJs(this.Page);
     // SagePageLoadPart();
 }