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?
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?