Home - Forums-.NET - FlyTreeView (ASP.NET) - The ContextMenu is covered by Frame, how to do?

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

The ContextMenu is covered by Frame, how to do?
Link Posted: 28-Apr-2009 03:17
My homepage has  two frames,  the FlyTreeView on th left and the DataForm on the right.
However, when the Contextmenu is popping, a part of menu is covered by frame's edge because of
the narrow space.
I wonder why the menu doesn't pop on the opposite when mouse click position is near the right edge?
Similarly, when it near the bottom, it should pop upward  rather than downward.
Link Posted: 28-Apr-2009 03:33
As I know , the codes as follows  seem to be used:

rightedge   = window.document.documentElement.clientWidth  - event.clientX;  
bottomedge= window.document.documentElement.clientHeight - event.clientY;

But I failed to  find where I can insert them.
Link Posted: 28-Apr-2009 12:03
It's flytreeview internals. Currently it shows popup context menu at right bottom of cursor.
The only way to change this behavior is to change FlyTreeView client-side runtime javascript.