Tooltip + checkbox

2 posts, 0 answers
  1. Megan
    Megan avatar
    12 posts
    Member since:
    Mar 2011

    Posted 26 Apr 2011 Link to this post

    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!
  2. Marin Bratanov
    Marin Bratanov avatar
    3908 posts

    Posted 29 Apr 2011 Link to this post

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

Back to Top