Set width and height of RadToolTip via CSS

2 posts, 1 answers
  1. Tom
    Tom avatar
    41 posts
    Member since:
    Feb 2009

    Posted 28 Jun 2010 Link to this post

    Hi,

    Is there an easy way to create a CSS style to set the width and height of a RadToolTip?

    Currently I am setting them as part of the declaration (see below) of the RadToolTip, but would like to make it easier to maintain with a single style.

    <

     

    telerik:RadToolTip Title="Help" runat="server" ID="RadToolTipPassword" HideEvent="ManualClose"

     

     

    ShowEvent="OnClick" TargetControlID="imgPassword" IsClientID="false" Width="150" Height="300" />

     



    Thanks,
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 29 Jun 2010 Link to this post

    Hi Tom,

    Here is the CSS to modify the width and height properties of RadToolTootip.

    Style:
     
        <style type="text/css"
            div.RadToolTip table.rtWrapper td.rtWrapperContent 
            { 
                width500px !important; 
                height200px !important; 
            } 
        </style> 


    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top