Thanks to the forums I have been able to create a RadWindow popup when a user mouses over a RadTreeView node. But the problem I am running into is that I don't want to constrain the user to the original items surface for the mouse out to close the popup, but want to allow the user to move the mouse within the popup window to do other actions then upon mouse out close.
Hence, I want to constrain the mouse out to the new window and not the original small node surface. But I have been unable to achieve that. Where should I put the mouse out code? Here is what I have tried, note that the windowpane variable is null and never attaches the alerts.
Hence, I want to constrain the mouse out to the new window and not the original small node surface. But I have been unable to achieve that. Where should I put the mouse out code? Here is what I have tried, note that the windowpane variable is null and never attaches the alerts.
function HandleHoverStart(sender, eventArgs) { var node = eventArgs.get_node(); if (node != null) { var pos = GetElementPosition(node.get_element()); var oManager = GetRadWindowManager(); var metaWindow = oManager.open(null, "DocumentMetaRadWindow"); var windowPane = document.getElementById("RadWindowWrapperElement" + metaWindow.Id); if (windowPane != null) { windowPane.onmouseenter = function () { alert('RadWindow enter'); }; windowPane.onmouseout = function () { alert('RadWindow out'); }; } var X = pos.x; var Y = pos.y; metaWindow.MoveTo(X, Y + node.offsetHeight); }}