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

loadondemand problem with updatepanel

3 Answers 98 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mojtaba
Top achievements
Rank 1
Mojtaba asked on 24 Aug 2009, 05:39 AM
I am using a treeview in updatepanel. When I try to rebind tree all node texts is cleared, and just (+ -) icons remind.
I have Q1 2009 and use load on demand with ServerSideCallback option. I read this topic but there isn't answer:
http://www.telerik.com/community/forums/aspnet-ajax/treeview/nodeclick-clears-out-the-content-of-node-templates.aspx

Thanks.


3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 25 Aug 2009, 11:36 AM
Hi Mojtaba,

You should either use ServerSide ExpandMode instead of ServerSideCallBack as the UpdatePanel will take care of transforming the postback into a callback, or remove the UpdatePanel and thus use the built-in callback mechanism of the treeview.

Regards,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Mojtaba
Top achievements
Rank 1
answered on 25 Aug 2009, 12:05 PM
I changed load on demand to ServerSide but problem does not solve and turn load on demand off, but problem exist.
I understood that just IE has this problem.
How can I update tree without update panel?
any idea?
0
Mojtaba
Top achievements
Rank 1
answered on 27 Aug 2009, 01:23 PM
Update IE7 to IE8, and problem solved.

Tags
TreeView
Asked by
Mojtaba
Top achievements
Rank 1
Answers by
Yana
Telerik team
Mojtaba
Top achievements
Rank 1
Share this question
or