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

2 stage tooltip

2 Answers 78 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 08 Jul 2009, 12:52 PM
Imagine a page with a control on it, say a textbox. Imagine the user hovers the mouse over the control and up pops a tooltip which reads ...

  "Enter the information requires (more)"

Further, imagine that the word 'more' is a hyperlink and that, if the user clicks on it, the tooltip resizes and shows a more details set of instructions.

Is this doable?

I've only used tooltips in a fairly simplistic way thus far and like to know whether or nor this is possible before I devote the time to trying to make it happen.

Many thanks

--
Stuart

2 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 13 Jul 2009, 09:31 AM
Hello Stuart,

The RadToolTip is actually a TABLE element and that is why it will automatically resize according to its content and what you want to achieve is actually available out of the box.

For your convenience I prepared a simple demo page and attached it to the thread,. When you hover the textbox, a tooltip with a hyperlink shows. If you click on the hyperlink, additional information is shown and the tooltip automatically resizes to fit the content. After that, when the tooltip closes, the additional information gets hidden again and next time you show the tooltip, it again contains only the hyperlink.

I hope that my explanations and demo are helpful.


Sincerely yours,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Stuart Hemming
Top achievements
Rank 2
answered on 13 Jul 2009, 11:29 AM
Svetlina,

V. Cool. Thanks

> I hope that my explanations and demo are helpful.
As always.

--
Stuart
Tags
ToolTip
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Svetlina Anati
Telerik team
Stuart Hemming
Top achievements
Rank 2
Share this question
or