Hi,
We are facing an Issue with the position of horizontal scroll of the rad tree view when we right click on any node of the tree to open its context menu.
Suppose this scenario:- A user moves the horizontal scroll of the tree view towards right, then he right clicks on any tree node to open the context menu. When the context menu is visible, the position of the horizontal scroll is moved to the extreme left and do not remain at the position where the user has last left it.
In the javascript function OnClientContexMenuShowing() we are making an Ajax call using the AjaxManager. Code is present below for your reference. It seems to me that this Ajax request is some how resetting the position of horizontal scroll bar to initial position( extreme left). Do we have any work around for thi Issue.. ?
We are facing an Issue with the position of horizontal scroll of the rad tree view when we right click on any node of the tree to open its context menu.
Suppose this scenario:- A user moves the horizontal scroll of the tree view towards right, then he right clicks on any tree node to open the context menu. When the context menu is visible, the position of the horizontal scroll is moved to the extreme left and do not remain at the position where the user has last left it.
In the javascript function OnClientContexMenuShowing() we are making an Ajax call using the AjaxManager. Code is present below for your reference. It seems to me that this Ajax request is some how resetting the position of horizontal scroll bar to initial position( extreme left). Do we have any work around for thi Issue.. ?
<
rad:RadTreeView ID="RadTreeView1" runat="server" Height="96%" OnClientContextMenuShowing="OnClientContextmenuShowing"
OnClientNodeClicked="OnTreeNodeClick" OnClientDoubleClick="OnTreeNodeDoubleClick"
OnClientContextMenuItemClicked="OnTreeContextMenuClick" OnClientNodeExpanding="toggleHandler"
OnClientNodeCollapsing="toggleHandler">
</rad:RadTreeView>
function
OnClientContextmenuShowing(sender, e) {
//Get the ajax manager object
clientAjaxRequest(
"UpdateMenu"
);
return
false
;
}
function
clientAjaxRequest(arg) {
var
ajaxManagerObject = $find(
"<%= RadAjaxManager1.ClientID %>"
);
ajaxManagerObject.ajaxRequest(arg);
}