Exemplo n.º 1
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     ArelleWebRepository arelleRepo = new ArelleWebRepository(Server.MapPath(TreeView1.SelectedNode.Parent.ValuePath));
     ArelleWebRequest arr = new ArelleWebRequest();
     arr.ViewParameters["file"] = Server.MapPath(TreeView1.SelectedNode.ValuePath);
     arelleRepo.GetRestResult(arr);
     Response.Redirect(string.Format("~/MenuItems.aspx?file={0}", arelleRepo.InstanceSavePath));
 }
Exemplo n.º 2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            ArelleWebRepository arelleRepo = new ArelleWebRepository(Server.MapPath(TreeView1.SelectedNode.Parent.ValuePath));
            ArelleWebRequest    arr        = new ArelleWebRequest();

            arr.ViewParameters["file"] = Server.MapPath(TreeView1.SelectedNode.ValuePath);
            arelleRepo.GetRestResult(arr);
            Response.Redirect(string.Format("~/MenuItems.aspx?file={0}", arelleRepo.InstanceSavePath));
        }