Default Button ToolTip

5 posts, 0 answers
  1. dhuss
    dhuss avatar
    120 posts
    Member since:
    Sep 2009

    Posted 19 Nov 2010 Link to this post

    How do you turn off the default tooltip on the button. It is redundant to have the text="Save" and then when you hover over the button you automatically get a tooltip saying the same thing. I have tried to set the Tooltip="" and that doesn't work. If I set the tooltip text to "Save Record", this shows up when the mouse hovers over the button. Suggestions.


    <telerik:RadButton ID="btnSave" runat="server" Text="Save" Width="100px">
    </telerik:RadButton>
  2. Rumen
    Admin
    Rumen avatar
    12848 posts

    Posted 22 Nov 2010 Link to this post

    Hi,

    I agree that when the ToolTip property is set to an empty string or not set at all, the tooltip should not pop up.
    I logged the problem in our PITS system and we will fix it. Here you can find the PITS Issue: Public URL.

    You can use the following workaround to temporary solve the problem:

    <telerik:RadButton ID="btnSave" runat="server" Text="Save" Width="100px" OnClientLoad="OnClientLoad"></telerik:RadButton>
    <script type="text/javascript">
        function OnClientLoad(sender) {
            if (sender.get_toolTip() == "") sender.get_element().title = "";
        }
    </script>


    Regards,
    Rumen
    the Telerik team
    Browse the vast support resources we have to jumpstart 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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. dhuss
    dhuss avatar
    120 posts
    Member since:
    Sep 2009

    Posted 22 Nov 2010 Link to this post

    Thanks for the work-around script. That solves the problem
  5. Mike Curtis
    Mike Curtis avatar
    6 posts
    Member since:
    Apr 2006

    Posted 30 Nov 2010 Link to this post

    The workaround doesn't seem to work for me when there is a ToolTipManager on the page ... Any suggestions?

    Thanks!
  6. Rumen
    Admin
    Rumen avatar
    12848 posts

    Posted 03 Dec 2010 Link to this post

    Hello Mike,

    The provided solution in my earlier post applies to the browser's tooltip, but not to the RadTooltip control.
    Can you please explain in more detail what your scenario exactly is and if possible provide a sample project which demonstrates the problem?

    In the meantime, put the RadButton controls after the ToolTipManager and see whether this will fix the problem.


    All the best,
    Rumen
    the Telerik team
    Browse the vast support resources we have to jumpstart 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
UI for ASP.NET Ajax is Ready for VS 2017