When my page loads I don't have any nodes loaded on a radtreeview control. I want to load them from client-side script during the page load. Meanwhile the tree is loading, I want to display an ajax loading panel. How can I do that? Thanks!
2 Answers, 1 is accepted
0
Accepted
Steve
Telerik team
answered on 01 Feb 2008, 02:05 PM
Hello,
You can use the hide() and show() client-side methods of the loading panel to hide/show it programmatically. Here is a code snippet:
var loadingPanel = $find("<%= RadLoadingPanel1.ClientID %>");
loadingPanel.show("<%= RadTreeView1.ClientID %>");
Both hide and show methods accept a single argument - the ClientID of the updated control.