Tooltip show from other updatepanel postbacks

2 posts, 0 answers
  1. Gregory Ott
    Gregory Ott avatar
    7 posts
    Member since:
    Aug 2007

    Posted 21 Jan 2008 Link to this post

    I'm using the load ondemand with the tooltipmanager just as in the online example, this works fine.  However, I also have a RadToolBar on my page which is surrounded by an updatePanel.  Whenever an event is fired from the toolbar, it is showing the tooltip.  I tried to find a work around by handling the 

    OnClientBeforeShow with the following code

    function

    OnClientBeforeShow(sender, eventArgs)

    {

    //Any ajax event will cause the tooltip to show. So we want to make sure

     

    //the ajax event came from the grid and not i.e.(toolbar)

     

    var str = sender.get_TargetControlID();

    var pos = str.indexOf("LocationServiceGridView");

    if(pos<=0)

    {

        eventArgs.set_cancel(true);

     

    }

    }

    however, when you set_cancel(true) it does stop the tooltip from showing but then the event that was suppose to fire from the toolbar cancels as well.

    Please advise

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 22 Jan 2008 Link to this post

    Hi Gregory,

    I am afraid that the provided information is not enough for us to determine what the reason for the problem might be. For example we don't know the control to which the RadToolTip is hooked and the event that is fired from the toolbar.

    Generally speaking, the RadToolTip should not be shown unless it is hooked to the toolbar. Unfortunately without having a better look over your exact setup we cannot tell what the reason for the problem might be. That is why I would like to ask you to open a support ticket and provide the following:
    1. A small sample project that shows your setup and reproduces the problem. Please make sure that the project can be run locally and attach it to the support ticket.
    2. Step-by-step reproduction instructions.
    Once we received that project, we will check it right away and do our best to help.




    Regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top