Imortant Change: RadToolTip will not show up if content is empty

4 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1629 posts
    Member since:
    Oct 2004

    Posted 05 Aug 2015 Link to this post

    As of Q2 2015 SP1 the popup element of RadToolTip cannot be shown if the content is empty. This is a result of an important improvement—

    This change will affect implementation where content of tooltip is populated via the OnClientShow event. The proper usage is handling the OnClientBeforeShow event in order for the tooltip to show up.

    You can also examine this online demo ( to further see such an implementation.

  2. Geoff
    Geoff avatar
    5 posts
    Member since:
    Aug 2015

    Posted 06 Aug 2015 Link to this post

    In my application, using a string of plain text for the tooltip content also resulted in the tooltip not showing up. Content should either include or be wrapped in some sort of tag (such as <p></p> or <span></span>) in order to work.
  3. Ianko
    Ianko avatar
    1829 posts

    Posted 07 Aug 2015 Link to this post

    Hi Geoff,

    Plain text can be added as content, and RadToolTIp should show in such a scenario.  The following basic example shows that:
    <telerik:RadToolTip runat="server" ID="RadToolTip1" OnClientBeforeShow="OnClientBeforeShow"/>
    <telerik:RadButton runat="server" ID="RadButton1" AutoPostBack="false" OnClientClicked="showToolTip" />
    <script type="text/javascript">
        function showToolTip(sender, args) {
            var tooltip = $find("<%= RadToolTip1.ClientID %>");
        function OnClientBeforeShow(sender, args) {
            sender.set_content("some plain text");

    If you have further difficulties on the matter, please, contact us by opening a ticket to us with further details about the scenario, so to examine the situation accurately. Thank you.

    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 Feedback Portal and vote to affect the priority of the items
  4. Geoff
    Geoff avatar
    5 posts
    Member since:
    Aug 2015

    Posted 07 Aug 2015 Link to this post

    Thanks Ianko, I hadn't considered setting my content via javascript instead of just typing it inline. Nice to know there's another option, but I prefer the solution of just throwing <span></span> around my content since using javascript to create static content doesn't seem appropriate. Your mileage may vary, of course.


    Thanks again.

Back to Top