C
christof
It'll be really easy...Sorry for that question:
I've got a MasterPage <%@ Master Language="C#" ClassName="MasterP" %>
and some slave.aspx.<%@ Page Language="C#"
MasterPageFile="~/Master1.master" AutoEventWireup="true"
CodeFile="ShowDatabases.aspx.cs" Inherits="ShowDatabases"
Title="Untitled Page" %><%@ MasterType VirtualPath="Master1.master" %>
In the slave page I'm creting and populating a TreeView which I would
like to pass to my MasterPage , where exists a TreeView Control.So I've
defined a function
//MasterPage code,
public void FetchTree(TreeView dbs)
{
//the right code // tried TreeView2 = dbs; but fails
}
//slave page code
Master.FetchTree(treeCreatedInSlave);
(There's no doubt about code, because when I type Master. the
IntelliSense sees the FetchTree method. I'm telling this, because my
problem is only in the tree.)
So how to do it without
I know I could build XML from slave tree and then get that XML in master
but I belive there's a faster way!
Thanks!!!
I've got a MasterPage <%@ Master Language="C#" ClassName="MasterP" %>
and some slave.aspx.<%@ Page Language="C#"
MasterPageFile="~/Master1.master" AutoEventWireup="true"
CodeFile="ShowDatabases.aspx.cs" Inherits="ShowDatabases"
Title="Untitled Page" %><%@ MasterType VirtualPath="Master1.master" %>
In the slave page I'm creting and populating a TreeView which I would
like to pass to my MasterPage , where exists a TreeView Control.So I've
defined a function
//MasterPage code,
public void FetchTree(TreeView dbs)
{
//the right code // tried TreeView2 = dbs; but fails
}
//slave page code
Master.FetchTree(treeCreatedInSlave);
(There's no doubt about code, because when I type Master. the
IntelliSense sees the FetchTree method. I'm telling this, because my
problem is only in the tree.)
So how to do it without
I know I could build XML from slave tree and then get that XML in master
but I belive there's a faster way!
Thanks!!!