예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string file = @"~/Uploaded/plamen/brka.zip";
            RenderStartupParameters rsp = new RenderStartupParameters(file);

            if (!IsPostBack)
            {
                frame1.Attributes["src"] = string.Format(
                    "XBRLSECviewer.aspx?file={0}", Server.UrlEncode(rsp.XBRLInstancePath));
            }
        }
예제 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (null != Request.QueryString["file"])
         {
             rsp = new RenderStartupParameters(Request.QueryString["file"].Trim());
             UpdateProcessor up = new UpdateProcessor(Page.Response, rsp.XBRLInstancePath);
             up.CallExternalProcessor(rsp.ReportsFolder);
         }
     }
 }
예제 #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (Request.QueryString["file"] != null)
         {
             string file = Request.QueryString["file"].Trim();
             rsp = new RenderStartupParameters(file);
             this.HiddenFilePath.Value      = rsp.XBRLInstanceFullPath;
             this.LabelXbrlInstanceDoc.Text = rsp.XBRLFileName;
             if (File.Exists(rsp.XmlFilingSummary))
             {
                 Xml1.DocumentSource  = rsp.XmlFilingSummary;
                 Xml1.TransformSource = rsp.XmlFilingSummaryXslt;
             }
         }
     }
 }