Hi,
I have a treeview in a usercontrol.
In a javascript function I've written : var treeView = $find("<%= RadTreeView1.ClientID %>");
but it didn't find the treeview.
What should I do?
2 Answers, 1 is accepted
0
Yana
Telerik team
answered on 04 Mar 2009, 01:06 PM
Hello Mehrdad,
We're not able to help you unless you provide us with a sample code and a more detailed explanation of this issue.
I have a WebUserControl, I've added the tree to this.
and in this webUsercontrol I've wrote " var treeView = $find("<%= RadTreeView1.ClientID %>");
but in runtime an javascript error appears that say, Object Expected that refers exactly to above line. and it means it couldn't find the control.
I'm using telerik 2007.