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

[Solved] Loading Message for RadTreeView

1 Answer 228 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 07 May 2008, 09:41 PM
I have a RadTreeView that is using LoadOnDemand.  My ExpandMode is set to ServerSide, but the Loading Message never displays.

If I change the ExpandMode to ServerSideCallback, then the Loading message is displayed in the tree node being expanded, but the OnNodeExpand function is not called and the loading message is left in the tree.

If I disable Ajax, then the loading and callback function all seem to work, but I want to keep Ajax enable to update other parts of the screen.

How can I implement a Loading Message in a RadTreeView when when using server side load on demand and Ajax?

I am using .NET 3.5, c# and the most recent ASP.NET AJAX controls.

Tim

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 10 May 2008, 01:04 PM
Hello Tim,

Loading message is shown when the nodes are populated via AJAX requests - when the ExpandMode is set to either ServerSideCallBack or WebService.
Since you are using a ServerSide expand mode I suggest that you add RadAjaxLoadingPanel on your page and configure the RadAjaxManager to use that panel.

I have prepared a small project illustrating the approach.

Please download it and give it a try.

Regards,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Tim
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or