Tooltip doesn't show if control is disable

6 posts, 0 answers
  1. Quan Nguyen
    Quan Nguyen avatar
    11 posts
    Member since:
    Apr 2006

    Posted 01 Oct 2007 Link to this post

    I have a button with a tooltip attach to it. On my master page I declare a Rad Tooltip Manager. The tooltip works fine when the button is enable but doesn't show when the Enabled property of the button is set to false.
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 02 Oct 2007 Link to this post

    Hello Quan Nguyen,

    The RadToolTipManager depends on events (set with the ShowEvent property) to show the tooltip. When the control is disabled such events are not fired - that is why the RadToolTip is not shown.




    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Quan Nguyen
    Quan Nguyen avatar
    11 posts
    Member since:
    Apr 2006

    Posted 02 Oct 2007 Link to this post

    are there any workaround solutions to the problem?
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 02 Oct 2007 Link to this post


    I am afraid no - if there are no events for the RadToolTipManager to attach on, the RadToolTip cannot be shown. I apologize for not making this clear in my previous reply.

    Generally speaking to be able to show a RadToolTip you need to use its client-side API. If you can implement your own logic that will call a simple Javascript alert() when you want to show a tooltip on a disabled element, send us that solution and we will rework it for you to show RadToolTip instead.



    Regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Quan Nguyen
    Quan Nguyen avatar
    11 posts
    Member since:
    Apr 2006

    Posted 02 Oct 2007 Link to this post

    I'm thinking of tracking the position of the mouse movement and check if the mouse is over the disabled button or not. We know the position of the control and on the client side you check if the mouse is there or not. If yes you fire the tooltip event.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017