RadToolTip - Incorrect Position

3 posts, 0 answers
  1. Andrew Buxton
    Andrew Buxton avatar
    15 posts
    Member since:
    Apr 2010

    Posted 19 Nov 2010 Link to this post


    This is an interesting issue and I cannot seem to find a programmatic solution to it.

    I have two grids (left and right), either side of a splitterbar (these components consume the entire browser window). The left grid items display a tooltip on rollover and the tooltip is displayed "MiddleRight", relative to the left grid item. This causes the tooltip to appear on the otherside of the splitterbar over the top of the second grid, which is correct.  When I move the splitter to the right and reduce the amount of visible grid on the right, the tool tip displays "MiddleLeft" which is correct as there is not enough room on the right to display the tooltip.

    However ... The exact same browser on the occasional different machine always displays the tooltip on the "MiddleLeft". It's like the control is unable to calculate the available space on the right, or simply cannot retrieve that figure. Is there any way I can influence the calulcation for tooltip positioning? If it is unable to reference or calculate the required figure, perhaps I can get the width of the visible space on the right and set it manually?

    This is an urgent issue for me as I'm nearing project end, I would appreciate any help you can provide at this time.

    I thank you in advance,

    Andrew Buxton.

  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 24 Nov 2010 Link to this post

    Hi Andrew Buxton,

     Indeed, it is interesting that the same code under the same browser behaves differently on different machines. What I can suggest is to try the following:

    1) Set explicit width and height to the tooltip, especially if you are using RadToolTipManager with LOD. Note, that if the tooltip should be bigger than you set it is not a problem and it will resize if you have not changed the default value of the ContentScrolling property.

    2) Try to call _show (note that this is a private method _show and not the public show) after the tooltip was shown. If this does not help, try to call it with a little timeout (try with 0 and e.g 10); If you are using LOD try to call it in OnClientResponseEnd event.

    3) Try the suggested in 2) with the private _adjustCallout() method (again when shown and when loaded events and with/without timeout).

    If one of the above resolves the issue but there are still some side effects (e.g jump, etc) let us know what are the results of your tests. If none of the above helps, please let us know how to observe the issue locally because otherwise we are not able to help without knowing what is actually going on.

    All the best,
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. DevCraft R3 2016 release webinar banner
  4. Andrew Buxton
    Andrew Buxton avatar
    15 posts
    Member since:
    Apr 2010

    Posted 25 Nov 2010 Link to this post

    Hi Svetlina,

    I worked your suggestions but none solved this particular issue.

    I did however have a brainwave as I was working through your suggestions. I noticed the tooltip was showing above the scrollbar in the left grid and the splitter. The offsetX value of my tooltip was set to 0 so I tried setting it to push the toolip completely out the way of the scrollbar and splitter and that solved this problem.

    Just so you're aware I only experienced this issue in Kiosk or F11 mode on Internet Explorer 8 running in IE7 compatibility mode.

    Many thanks for your help.

    Best wishes,

Back to Top