i'm getting a stack overflow on node1.select below.
tvAddr is a radtreeview. the node1/find and select java at the bottom reiterates - causing a stack overflow...any ideas or work-arounds? thanks. i'm using 2010.1.519.35 version. thanks.
tvAddr is a radtreeview. the node1/find and select java at the bottom reiterates - causing a stack overflow...any ideas or work-arounds? thanks. i'm using 2010.1.519.35 version. thanks.
function isInvoiceAddrSelectedValid(s, e) {
var invaddr;
invaddr = window.document.getElementById(
"cbInvTo").value;
if (isAddrComplete(invaddr))
{
e.IsValid =
true;
}
else {
var tree = $find("<%= tvAddr.ClientID %>");
var addrvalue = window.document.getElementById("txtAddrTypeID").value;
debugger;
if (addrvalue != '') {
var node1 = tree.findNodeByValue(addrvalue);
node1.select();
e.IsValid =
false;
}
e.IsValid =
false;
}
}