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

NodeEdit event does not fire - sometimes

1 Answer 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Kevin Warnke
Top achievements
Rank 1
Kevin Warnke asked on 30 Jun 2009, 05:17 PM
I have a TreeView that can add nodes dynamically in the client.  After you edit the name of the newly added node it uses ajax to go back to the server to update the database with the new node.

When I run this ASCX on it's own page it runs fine.  However, when I embed this ASCX as content within a tab pane the NodeEdit event stops firing after you edit a newly added node.  It still runs, though, when editing an already-existing node.

Any initial thoughts?  I'm not sure how to pull this out and do a simple repro.  My guess is it won't repro when I dumb down the code.

Thanks,
Kevin

1 Answer, 1 is accepted

Sort by
0
Kevin Warnke
Top achievements
Rank 1
answered on 30 Jun 2009, 05:32 PM
Disregard.

The problem lies with having multiple user controls in the same page that use the same javascript variable to manage the tree view.
Tags
TreeView
Asked by
Kevin Warnke
Top achievements
Rank 1
Answers by
Kevin Warnke
Top achievements
Rank 1
Share this question
or