This is a migrated thread and some comments may be shown as answers.

Javscript Error on Drag Drop - TrackChanges?

1 Answer 48 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mike Philbrick
Top achievements
Rank 1
Mike Philbrick asked on 06 Apr 2009, 04:30 PM
Hello,

I'm getting a "null" or not an object error when the javascript gets to this line:

firstTreeView.trackChanges();


I'm trying out the TreeView component in the 2009 Ajax controls with Visual Studio 2005.  I used the example vb files.  Then, deleted the qsf references because I wasn't sure how to fix them.  The demo code works for the text box and the grid, but whenever I drag and drop an item from one treeview to the other, it doesn't complete and I notice the JavaScript error.  I traced it this line using alerts.

Is there sometime of setup that's required to get this to work?

Thanks,

Mike

1 Answer, 1 is accepted

Sort by
0
Mike Philbrick
Top achievements
Rank 1
answered on 06 Apr 2009, 07:18 PM
I've managed to get the example working by going more specifically by the example setup.  I built my non-working example by adding the demo code to a user control(.ascx), then dropping that control on a test page with a masterpage assigned to it.  

When I created the example on a webpage (.aspx) with no masterpage, then the example works...haven't figured out why yet...
Tags
TreeView
Asked by
Mike Philbrick
Top achievements
Rank 1
Answers by
Mike Philbrick
Top achievements
Rank 1
Share this question
or