I need to have a javascript function in my ASP.Net page I can call that will:
Any help would be greatly appreciated.
Let me clarify. I already have some code based on the docs, but it doesn't work.
tree = igtree_getTreeById(
"<%=IncludeList.ClientID%>"); <== This yields a null object
"IncludeList"); <== This yields a null object
tree.clearNodes(); <== doesn't work because tree is null
The tree markup is:
<
ignav:UltraWebTree ID="IncludeList" runat="server" .... etc
Am I missing something?
I've used this to find the tree control but have not been able to clear it, either client-side or server-side. Hope this helps.
var tree = $util.findControl("AgendaTree");
if (tree != null) {
.
debugger;
}
Steve
Is that a jQuery utility?