rendering speed

3 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 21 Jun 2010 Link to this post

    If I place a tooltip manager on a page and hard code in its width and height, the tooltip renders smoothly.  As im generating the contents of the tooltip panel dynamically from a database, the height will vary depending on the amount of text returned, so I cant hardcode the height, but as soon as I remove the height property, the tooltip renders very slowly and 'jerky'.  Is this a known bug ?  I cant fix the height since I dont know what it will be until runtime when its contents are retrieved

     <telerik:RadToolTipManager runat="server" AnimationDuration="300" ShowDelay="200" 
                HideDelay="1" ID="RadToolTipManager1" Width="450px"  RelativeTo="Element" 
                Animation="Slide" Position="BottomCenter" OnAjaxUpdate="OnAjaxUpdate"  
            Skin="Sunset" HideEvent="LeaveToolTip" /> 


    this.RadToolTipManager1.TargetControls.Add(this.ImageGuarantee.ClientID, "Guarantee", true); 
                    this.RadToolTipManager1.TargetControls.Add(this.ImageWhy.ClientID, "Why", true); 
                    this.RadToolTipManager1.TargetControls.Add(this.ImageVIP.ClientID, "VIP", true); 

  2. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 22 Jun 2010 Link to this post

    can anyone help me with this problem ???  the tooltip wont render smoothly when the height is not hard coded, is this a bug ??
  3. DevCraft R3 2016 release webinar banner
  4. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 23 Jun 2010 Link to this post

    Hello mww,

    I already answered your other thread and for your convenience and for others who might have the same issue I pasted it below:

    It is possible to get undesired position when there is not explicit width set and the OnAjaxUpdate event is used. However, this is expected behavior in such case - the content of the tooltip is loaded through AJAX and the tooltip cannot "predict" the width it has to have when it is shown. Thus it shows at some coordinates and after that the resize takes place and as a result the position is not the correct.

    This being said, you should set the Width property explicitly and to use the ContentScrolling property to the desired value in order to determine the behavior when the width should be bigger than the set. If you want the tooltip to resize accordingly you should set it to Default.

    We are currently working on improving this behavior but for the time being some explicit size set is the best solution for the case.

    Best wishes,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top