setting Radtooltip height in OnClientBeforeShow

2 posts, 0 answers
  1. lakshmi
    lakshmi avatar
    11 posts
    Member since:
    Feb 2008

    Posted 02 Jun 2008 Link to this post


    How to set or change the radtooptip height client side based on the content in OnClientBeforeShow?

    Thanks in advance,kindly help me to resolve this.
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 04 Jun 2008 Link to this post

    Hi lakshmi,

    The logic behind the RadToolTip control is to resize itself according to its content. That is why for the time being we are not planning to implement methods which allow setting the size on the client.

    What I can suggest is the following:

    1. Set the size of the content and the RadToolTip will wrap it and take the desired size.
    2. Reference the RadToolTip's popup element and resize it by using its style attribute.

    For your convenience I am attaching a sample project which demonstrates my second suggestion.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top