Beispiel #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));
            }
        }
Beispiel #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);
         }
     }
 }
Beispiel #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;
             }
         }
     }
 }