M
musosdev
Hi,
I'm using an asp:TreeView control on my master page for navigation of
documents. However, I am experiencing a couple of problems.
The first, and fundamental one, is that I can't seem to get to the TreeView
from the content page. I'm trying...
TreeView tree = (TreeView)Master.FindControl("treeDocuments")
.... but I keep getting a NullReferenceException error. (
What's going on?!
Secondly, I want to expand/collapse sub-nodes automatically when a node is
clicked, but there doesn't seem to be an OnClick event?! How can I do this?!
Thanks,
Dan
I'm using an asp:TreeView control on my master page for navigation of
documents. However, I am experiencing a couple of problems.
The first, and fundamental one, is that I can't seem to get to the TreeView
from the content page. I'm trying...
TreeView tree = (TreeView)Master.FindControl("treeDocuments")
.... but I keep getting a NullReferenceException error. (
What's going on?!
Secondly, I want to expand/collapse sub-nodes automatically when a node is
clicked, but there doesn't seem to be an OnClick event?! How can I do this?!
Thanks,
Dan