RadToolTipManager window disappears automatically

6 posts, 0 answers
  1. adi
    adi avatar
    79 posts
    Member since:
    Feb 2007

    Posted 09 Sep 2010 Link to this post

    Hi,

    I'd like to show a tooltip while hovering over a RadGrid row. This functionality works well until displaying the tooltip with RadToolTipManager. If I hover over a row, the tooltip appears short. It disappears after a while automatically. The page is ajaxified as well as the UserControls on it. How can I get tooltip stayed on the page?

    Regards,
    Adi
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 Sep 2010 Link to this post

    Hi Adi,

    You can set the HideEvent property of RadTooltip as per your requirement.

    ASPX:
         <telerik:RadToolTip HideEvent="ManualClose" ID="RadToolTip3" 


    The HideEvent property is an enum and can take the following values, which names describe the effect that you set:
    • Default
    • FromCode
    • LeaveTargetAndToolTip
    • LeaveToolTip
    • ManualClose


    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 09 Sep 2010 Link to this post

    Hi adi,

     Shinu has provided the relevant information for your question. What I can add is to suggest to examine the demos below where you can directly test the actual behavior with the different settings:

    http://demos.telerik.com/aspnet-ajax/tooltip/examples/hideevent/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/tooltip/examples/default/defaultcs.aspx

    Kind regards,
    Svetlina
    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
  5. adi
    adi avatar
    79 posts
    Member since:
    Feb 2007

    Posted 09 Sep 2010 Link to this post

    Hi,

    It was the time the databinding occurs. If the tooltip was displayed, the grid was rebind and therefore the TargetControls collection was recreated. I have refactor the binding logic and now the ToolTip remains. But now I get an other error:

    ---------------------------
    Message from webpage
    ---------------------------
    RadToolTipManager response error:
     Exception=Sys.WebForms.PageRequestManagerServerErrorException: Index was out of range. Must be non-negative and less than the size of the collection.

    Parameter name: index

  6. adi
    adi avatar
    79 posts
    Member since:
    Feb 2007

    Posted 14 Sep 2010 Link to this post

    Hi,

    Update: I have solved the issue. The sample links from Svetlina were very useful. The PageRequestManagerServerErrorException was resolved by refactoring the AJAX configuration. It works fine, now.

    Thanks!
  7. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 14 Sep 2010 Link to this post

    Hello adi,

     I am glad to hear that you were able to resolve the problem and to get the desired result. In case you encounter any further problems or you have any particular questions, do not hesitate to contact us again, we will be glad to help.

    All the best,
    Svetlina
    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
UI for ASP.NET Ajax is Ready for VS 2017