TreeView problem
- From: christof <nomail@xxxxxxxxx>
- Date: Fri, 25 Nov 2005 22:45:15 +0100
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!!! .
- Follow-Ups:
- Once again a TreeView problem
- From: christof
- Once again a TreeView problem
- Prev by Date: Re: Visual Web Developer Express How do I build Code-behind into DLL in bin folder
- Next by Date: Re: Sorry for asking, Outlook Express related question only
- Previous by thread: Sorry for asking, Outlook Express related question only
- Next by thread: Once again a TreeView problem
- Index(es):
Relevant Pages
|