Hi,
I have three controls on a aspx page. A RadGrid(I'll Call it Grid A) that acts like a reorderlist. Using drag and drop items can be moved around inside of the grid.
A Radtreeview, from which nodes can be dragged and dropped onto another Radgrid(different radgrid than the one mentioned above,Call it Grid B).
Everything works as expected when I drag and drop from the treeview to Grid B. Then if I go to Grid A and try to reorder rows using drag and drop that works fine too. But after that if I come back to the treeview and try to drap node to Grid B again I get a javascript exception:"Microsoft JScript runtime error: Object doesn't support this property or method"
the debugger is stuck on the line of code (in a dynamically generated script)
After further looking into it this script gets called from the following function:
and in this case the value of 'instance' is null.
I am using the code from the online demos for the Radtreeview drag and drop and also for the RadGrid drag and drop.
Please let me know if you need more details:
any help would be appreciated.
thanks.
I have three controls on a aspx page. A RadGrid(I'll Call it Grid A) that acts like a reorderlist. Using drag and drop items can be moved around inside of the grid.
A Radtreeview, from which nodes can be dragged and dropped onto another Radgrid(different radgrid than the one mentioned above,Call it Grid B).
Everything works as expected when I drag and drop from the treeview to Grid B. Then if I go to Grid A and try to reorder rows using drag and drop that works fine too. But after that if I come back to the treeview and try to drap node to Grid B again I get a javascript exception:"Microsoft JScript runtime error: Object doesn't support this property or method"
the debugger is stuck on the line of code (in a dynamically generated script)
| e.preventDefault(); |
After further looking into it this script gets called from the following function:
| Function.createDelegate = function Function$createDelegate(instance, method) { |
| /// <summary locid="M:J#Function.createDelegate" /> |
| /// <param name="instance" mayBeNull="true"></param> |
| /// <param name="method" type="Function"></param> |
| /// <returns type="Function"></returns> |
| var e = Function._validateParams(arguments, [ |
| {name: "instance", mayBeNull: true}, |
| {name: "method", type: Function} |
| ]); |
| if (e) throw e; |
| // The method still makes some sense with a null instance, in the same way that createCallback still |
| // makes sense with a null context. |
| return function() { |
| return method.apply(instance, arguments); |
| } |
| } |
and in this case the value of 'instance' is null.
I am using the code from the online demos for the Radtreeview drag and drop and also for the RadGrid drag and drop.
Please let me know if you need more details:
any help would be appreciated.
thanks.