Javscript Error on Drag Drop - TrackChanges?

2 posts, 0 answers
  1. Mike Philbrick
    Mike Philbrick avatar
    7 posts
    Member since:
    Mar 2007

    Posted 06 Apr 2009 Link to this post

    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
  2. Mike Philbrick
    Mike Philbrick avatar
    7 posts
    Member since:
    Mar 2007

    Posted 06 Apr 2009 Link to this post

    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...
Back to Top