radToolTip and Java applet

3 posts, 0 answers
  1. Tiberiu Saulean
    Tiberiu Saulean avatar
    4 posts
    Member since:
    Nov 2009

    Posted 25 Nov 2009 Link to this post

    I have a java applet in my page(more info: http://www.mindfusion.eu/onlinehelp/netdiagram/index.htm)  and my RadToolTip is beeing covered by the applet.Is there an option for RadToolTip like 'always on top' or how can i fix this?
    Is working only in IE

  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 30 Nov 2009 Link to this post

    Hi Tiberiu Saulean,

    In order to get the desired result, please hook up the tooltip's OnClientBeforeShow event and execute teh following code there:

    function OnClientBeforeShow(sender, args)
    {
        sender._popupBehavior.set_overlay(true)
    }


    Sincerely yours,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tiberiu Saulean
    Tiberiu Saulean avatar
    4 posts
    Member since:
    Nov 2009

    Posted 30 Nov 2009 Link to this post

    thanks.

    Can you help me with this?

    I have this
    - diagram java applet( http://mindfusion.eu/demos/jdiagram/start.htm ) ;
    - <telerik:RadToolTip runat="server" ID="radToolTipActivitate" Width="300px" Height="190px" ShowEvent="FromCode" IsClientID="true" HideEvent="LeaveToolTip" OnClientBeforeShow="radToolTipOnClientBeforeShow" MouseTrailing="true" RelativeTo="Mouse" Position="TopRight" >;

    If i click on some node in the diagram,i use radToolTip.show() to displayt a panel with node's properties.Because the node is not a control,i want my radToolTip to be displayed relative to the mouse position,but this is not happening,it is displayed on TopRight corner of the browser window.


    My second aproach is :
    <telerik:RadToolTip runat="server" ID="radToolTipActivitate" Width="300px" Height="190px" ShowEvent="FromCode" IsClientID="true" HideEvent="LeaveToolTip" OnClientBeforeShow="radToolTipOnClientBeforeShow" MouseTrailing="true" RelativeTo="BrowserWindow" Position="TopRight">
       When i click on some node,i use this,but the radToolTip is displayed with errors(only 3/4 of the radToolTip):
    function onNodeClicked(diagram,args)
    {
                    var x = args.getMousePosition().getX();
                    var y = args.getMousePosition().getY();
                    
                    ShowTooltip(x,y);
    }
              function ShowTooltip(x,y) {        
                var tooltip = $find("<%= radToolTip.ClientID %>");
                      tooltip.set_offsetX(x);
                      tooltip.set_offsetY(y);
                      tooltip.show();
              }


    x = A Point2D.Float object representingthe mouse position in document coordinates
    (http://www.mindfusion.eu/onlinehelp/netdiagram/)

Back to Top