Hi.
I'm using TreeView 2007 on my page. I wrote this code in my javascript function :
I'm using TreeView 2007 on my page. I wrote this code in my javascript function :
var
treeView = $find("<%= MyTree.ClientID %>");
but this but when the code runs, this error appears:
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
I've tried this code too:
var tree = $find("MyTree");
but this error appears:
Microsoft JScript runtime error: Object expected
What's the reason ? Is it because of the old version or not ?