I have a treevew control ( with dynamically created nodes) that was working great with July CTP. The control no longer works with beta any more:
1. Does not maintain the expanded state during ajax post back ( the nodes expand collapse unexpectly).
2. Strange behaviour if nodes are dynamically populated. This bug was present with the earlier atlas CTP's but was fixed with July CTP.
I have to use the same work around referenced in post:http://forums.asp.net/thread/1203662.aspx
------------------------
Similar issue, I didn’t want the tree to update always. The workaround that I am using is ,
Put tree in update panel (with conditional update).
- Add "TreeNodePopulate" event as a trigger in your update panel
- Turn off the client behaviour of tree expand ( putPopulateNodesFromClient = false ) and let atlas take care of it.
- Use Populate on demand = true.
-------------------------
Is any body else is having similar problem?
You might want to look at the CSS Adapters Beta 3 - they have what appears to be a 'ajaxified' treeview control that does not do full postbacks and retains viewstate on the client side... However, warning... if you do not need the other adaptewrs do not install them in your project as they override everything automatically and there is no method I know of to not allow the adapters controls it targets dynamically or explicitly...
The cool thing though is they provide all the source for it - so it may mean you can at least write an custom extender control for treeview that will integrate nicely with ajax...
Just a suggestion - and as usual unsure if I ever know what I am talking about...
No comments:
Post a Comment