RadTool Text Wrap not working

2 posts, 0 answers
  1. Swati
    Swati avatar
    6 posts
    Member since:
    Aug 2011

    Posted 11 May 2012 Link to this post

    My RadToolTip text is not wrapping even after setting Wrap="true" and also setting the width.

    My tooltip text is been dynamically assigned.

    I want my tooltip text to be displayed in new line once the content exceeds its limit. Mainly I want to wrap my text which not working and always the text is displayed in one single line covering the entire screen.

    Code is as below

       <telerik:RadToolTip ID="rttReadMoreCustomText" runat="server" Skin="Windows7" TargetControlID="lnkReadMore" Position="Center"  ShowEvent="OnClick" HideEvent="ManualClose" ManualClose="True" ShowDelay="0" AutoCloseDelay="0" Visible="true" Width="100px" Wrap="true">
                    <div style="width:300px;white-space:nowrap">
                       <asp:Label ID="lblReadMoreFullCustomText" style="" runat="server" class="Venue_general_font1 FontStyle4"  Font-Bold="true" />
  2. Kevin
    Kevin avatar
    360 posts
    Member since:
    Jul 2012

    Posted 11 May 2012 Link to this post

    Hello Swati,

    I noticed that you have nowrap set on the div contained inside the div you have inside the RadTooltip. Also, the div's width is set to a size greater than the tooltip width, so it would never wrap even if you had wrapping enabled on the div.

    I hope that helps.
  3. DevCraft R3 2016 release webinar banner
Back to Top