Wednesday, January 20, 2010

Access User Control on Master Page From Content Page ASP.net?

I would like to access a treeview in a content control on my master page fron my default.aspx page. How can I get there?





Thanks in advance...


SMAccess User Control on Master Page From Content Page ASP.net?
You need to make a Public accessor to the TreeView:





Public TreeView Tree


{


get


{


return treeViewCtrl;


}


}





Then from the page, simply call this.Master.Tree

No comments:

Post a Comment