Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            GzipHelper.CompressPage();
            //string type = Request.QueryString["type"];
            string agenda      = Request.QueryString["agenda"];
            string policy      = Request.QueryString["policy"];
            string rule        = Request.QueryString["rule"];
            string process     = Request.QueryString["process"];
            string subprocess  = Request.QueryString["subprocess"];
            string application = Request.QueryString["application"];
            string module      = Request.QueryString["module"];


            //var typename = Request.QueryString["typetext"];
            var agendaname      = Request.QueryString["agendatext"];
            var policyname      = Request.QueryString["policytext"];
            var rulename        = Request.QueryString["ruletext"];
            var processname     = Request.QueryString["processtext"];
            var subprocessname  = Request.QueryString["subprocesstext"];
            var applicationname = Request.QueryString["applicationtext"];
            var modulename      = Request.QueryString["moduletext"];

            presenter.GenerateReport(agenda, agendaname,
                                     policy, policyname, rule, rulename, process, processname,
                                     subprocess, subprocessname, application, applicationname,
                                     module, modulename);
        }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     GzipHelper.CompressPage();
     if (Request["reportid"] != null && Request["reportid"] != "undefined")
     {
         int reportId = int.Parse(Request["reportid"]);
         _presenter.GenerateReport(reportId);
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            GzipHelper.CompressPage();

            string qstring = ExpandQueryString(Request.QueryString);

            Page.ClientScript.RegisterStartupScript(GetType(), "hwa", string.Format("ajaxcallmaincontent('{0}');", qstring), true);

            //if (Request[Resources.IdKey] != null)
            //{
            //    int id = Convert.ToInt32(Request[Resources.IdKey]);
            //    if( Request["isDetail"] != null )
            //    {
            //        presenter.RenderDetail(id);
            //        return;
            //    }
            //    presenter.RenderEntity(id);
            //}
            //else
            //{
            //    int defaultHomeId = Convert.ToInt32(AppSettingsReader.GetValue("HOMEPAGE_ID"));
            //    if (defaultHomeId > 0)
            //    {
            //        int type =presenter.GetHomePageType(defaultHomeId);
            //        switch (type)
            //        {
            //            case 105:
            //                presenter.RenderEntity(defaultHomeId);
            //                break;
            //            default:
            //                var asIsPresenter = new AsIsPagePresenter(this);
            //                asIsPresenter.RenderDetail(defaultHomeId);
            //                break;
            //        }

            //    }
            //}
        }
Esempio n. 4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     GzipHelper.CompressPage();
     presenter.BuildNavigation();
 }
Esempio n. 5
0
 protected void Page_Load(object sender, EventArgs e)
 {
     GzipHelper.CompressPage();
 }