I've discovered a bug in the OnClientNodeDropping event of the current version of radTreeview for ASP.NET AJAX.
If you have a standard JavaScript confirm() statement inside the event handler, then on exiting the event handler, the error "htmlfile: Invalid argument" is triggered pointing to a Telerik generated Javascript file:
Is there a way around this error?
Regards,
Nuri
If you have a standard JavaScript confirm() statement inside the event handler, then on exiting the event handler, the error "htmlfile: Invalid argument" is triggered pointing to a Telerik generated Javascript file:
this._clearDrag(); |
},_clearDrag:function(){ |
if(this._dropClue){ |
document.body.removeChild(this._dropClue); |
this._dropClue=null; |
} |
document.body.removeChild(this._draggingClue); |
...where this._draggingClue is null in the last line.
You can re-create the bug by modifying the "drag and drop" online sample located at:
function onNodeDropping(sender, args) |
{ |
var dest = args.get_destNode(); |
if (dest) |
{ |
var clientSide = document.getElementById('ChbClientSide').checked; |
if(clientSide) |
{ |
clientSideEdit(sender, args); |
if (confirm("my message")){ |
} |
args.set_cancel(true); |
return; |
} |
dropOnTree(args); |
} |
else |
{ |
dropOnHtmlElement(args); |
} |
} |
Is there a way around this error?
Regards,
Nuri