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

Tooltip + checkbox

1 Answer 103 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Megan
Top achievements
Rank 1
Megan asked on 26 Apr 2011, 03:37 PM
Good day,
Is it possible to call a tooltip on checkbox click and then call different content inside said tooltip when the checkbox is unchecked? - How exactly would I go about that?
Thanks so much!

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 29 Apr 2011, 11:07 AM

Hi Megan,

You need to check the checkbox's state in the OnClientBeforeShow event of the ToolTip and set the desired text accordingly. For your convenience I have prepared and attached a simple page that does that.

Please note that using the OnClick event as a ShowEvent of the tooltip would cancel the checkbox's default behavior (becoming checked/unchecked on a click). You can test this in the demo page I have attached. I would recommend using the OnMouseOver event instead.



Kind regards,
Marin
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
ToolTip
Asked by
Megan
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or