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

[Solved] Context menu and Loading panel

0 Answers 135 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
John Sornea
Top achievements
Rank 1
John Sornea asked on 08 Mar 2010, 09:49 AM
Hello,

I  have a Treeview with a context menu and a loading panel on the page.

When I am using the context menu and I rename a node for example, the loading panel "fires" and the node is not renamed.

How can I make this work?

The loading panel is on the master page, the treeView is on a user control.

The loading panel si set in the page dinamically, using the FindControl method and getting the treeview from usercontrol.

RadAjaxManager masterManager = Master.AjaxManager;
            RadAjaxLoadingPanel masterLoadingPanel = Master.LoadingPanel;
            if (masterManager != null)
            {
                RadTreeView tree = clientHierarchy.FindControl("controlTree") as RadTreeView;

                if (tree != null)
                {
                    masterManager.AjaxSettings.AddAjaxSetting(tree, pnlControl, masterLoadingPanel);
                }
            }

Also, can I make the loading panel not to "fire" on certain events?

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
John Sornea
Top achievements
Rank 1
Share this question
or