Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Page.RegisterClientScriptBlock("sds",
                                                "<link href='/WF/Comm/Style/Table" + BP.Web.WebUser.Style + ".css' rel='stylesheet' type='text/css' />");

            this.Page.RegisterClientScriptBlock("d",
                                                "<link href='/WF/Comm/Style/Tabs.css' rel='stylesheet' type='text/css' />");

            RptXmls xmls = new RptXmls();

            xmls.RetrieveAll();

            this.Pub1.Add("<div id='tabsJ' style='height=30px;' >");
            this.Pub1.AddUL();
            foreach (RptXml item in xmls)
            {
                if (item.No == this.PageID + "_" + this.DoType)
                {
                    this.Pub1.Add("<li><a href=#><span><b><img src='" + item.ICON + "' border=0 />" + item.Name + "</b></span></a></li>");
                }
                else
                {
                    this.Pub1.AddLi("<a href='" + item.URL + "&FK_Flow=" + this.Request["FK_Flow"] + "'><span><img src='" + item.ICON + "' border=0 />" + item.Name + "</span></a>");
                }
            }
            this.Pub1.AddULEnd();
            this.Pub1.AddDivEnd();
        }
Ejemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Page.RegisterClientScriptBlock("sds",
                                                "<link href='/WF/Comm/Style/Table" + BP.Web.WebUser.Style + ".css' rel='stylesheet' type='text/css' />");

            RptXmls xmls = new RptXmls();

            xmls.RetrieveAll();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Page.RegisterClientScriptBlock("sds",
                                                "<link href='/WF/Comm/Style/Table" + BP.Web.WebUser.Style + ".css' rel='stylesheet' type='text/css' />");

            RptXmls xmls = new RptXmls();

            xmls.RetrieveAll();

            BP.WF.Rpt.MapRpts rpts = new BP.WF.Rpt.MapRpts(this.FK_Flow);
            foreach (BP.WF.Rpt.MapRpt rpt in rpts)
            {
                this.Pub1.AddFieldSet(rpt.Name);
                this.Pub1.AddUL();
                this.Pub1.Add("<li><a href='Search.aspx?RptNo=" + rpt.No + "&FK_Flow=" + this.FK_Flow + "' >查询</a></li>");
                this.Pub1.Add("<li><a href='Group.aspx?RptNo=" + rpt.No + "&FK_Flow=" + this.FK_Flow + "' >分组分析</a></li>");
                this.Pub1.Add("<li><a href='D3.aspx?RptNo=" + rpt.No + "&FK_Flow=" + this.FK_Flow + "' >交叉报表</a></li>");
                this.Pub1.Add("<li><a href='Contrast.aspx?RptNo=" + rpt.No + "&FK_Flow=" + this.FK_Flow + "' >对比分析</a></li>");
                this.Pub1.AddULEnd();
                this.Pub1.AddFieldSetEnd();
            }
        }