Anyone got any idea how to access a treeview element in an embedded control using javascript.<BR><BR>I can do it for a textbox using <BR>document.Form1.elements[&#039;controlid:TextBox1&#039;].value<BR><BR>this gives me the value of the textbox in my embedded control.<BR><BR>I would like to be able to access a m/s treecontrol. I tried<BR><BR>document.Form1.elements[&#039;reqTypeList_Treeview1&#039;].selectedNodeIndex<BR>but when I <BR>alert the result I get an "undefined" error message..any ideas?<BR>