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

[Solved] Can't select nodes after ajax treeview refresh

0 Answers 27 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Eric
Top achievements
Rank 1
Eric asked on 17 Feb 2012, 11:18 AM
Hi all,

I've got an MVC treeview 2 website that uses 2 treeviews on a page. The user can upload a file, which then shows in the selected node in the treeview. I do this by letting the user upload the file using ajax. When that is done, the client javascript refreshes the whole tree, which then shows the file in the correct node.

This works fine, however, after the refresh, users can't always select the treeview's nodes anymore. Also, on mouseover, it doesn't show which node you're hovering the mouse over at the moment. It looks like no events are fired anymore.

The weird thing is, that it does work on my local machine, but not on the test server.
  • ASP.NET MVC 2
  • WIN7
  • Chrome 17.0.963.46 m, IE 9.0.8112.16421
  • Telerik.Web.MVC 2011.3.1115.235
  • C#, JQuery
Tags
TreeView
Asked by
Eric
Top achievements
Rank 1
Share this question
or