This is a migrated thread and some comments may be shown as answers.

setting Radtooltip height in OnClientBeforeShow

1 Answer 101 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
lakshmi
Top achievements
Rank 1
lakshmi asked on 02 Jun 2008, 08:13 PM
Hi,

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.
 
Dhana.

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 04 Jun 2008, 10:33 AM
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.



Regards,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
lakshmi
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or