Important changes in the Client-Side API of RadToolTip for ASP.NET AJAX

5 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 21 Apr 2008 Link to this post


    In RadControls for ASP.NET AJAX Q1 2008 there is a change in the Client-Side API. The compatibility layer which was used in the transition beta period is now removed. All client-side methods strictly follow the ASP.NET AJAX conventions and are lower case.
    For instance: get_activeToolTip() should always be used from now on, get_ActiveToolTip() is no longer supported. This also results in significant improvement in page loading times.

    Best regards,
    The Telerik team
  2. dstj
    dstj avatar
    82 posts
    Member since:
    Oct 2006

    Posted 20 Apr 2009 Link to this post

    Please update the live demos and the documentation. Some are still using the wrong letter casing.

    For example, from the API doc about "get_contentElement"
       var tooltip = $find("RadToolTip3");     
       var contentElement
    = tooltip.get_ContentElement();
       var checkboxes
    = contentElement.getElementsByTagName("INPUT");

    From :

    You can use the get_ContentElement, set_ContentElement functions to obtain a reference to the HTML element, holding the content of the RadToolTip or to set this element. Example:
                    var tooltip = $find("RadToolTip1");
                    var contentElement = tooltip.get_ContentElement();

    Current version : 2009 Q1 SP1 (2009.1.402.35)
  3. DevCraft R3 2016 release webinar banner
  4. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 21 Apr 2009 Link to this post

    Hello dstj,

    Thank you for reporting this, I already fixed the mentioned demo and article and updated them to the current naming conventions.

    I also updated your account with new Telerik points for your cooperation.

    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.
  5. T F
    T F avatar
    8 posts
    Member since:
    May 2010

    Posted 11 May 2010 Link to this post

    How do you display an HTML string returned by the webservice inside of the Tooltip?
  6. Petio Petkov
    Petio Petkov avatar
    825 posts

    Posted 12 May 2010 Link to this post


    Once the response is received we add it to the RadToolTip's content div with the following code:
    div.innerHTML = response;
    The following code:
       public String SbuDetailHtml(object context)
           string value;
           string regular = "regular<br/>regular<H1>regular</H1>";
           string encoded = Server.HtmlEncode("encoded<br/>encoded<H1>encoded</H1>");
           return value = regular + encoded;
    will display:




    Hope this helps.

    Kind regards,
    Petio Petkov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top
DevCraft R3 2016 release webinar banner