TooltipManager in Ajax UserControl

2 posts, 0 answers
  1. Christoph De Herdt
    Christoph De Herdt avatar
    3 posts
    Member since:
    Oct 2009

    Posted 21 Oct 2009 Link to this post


    How could I get a tooltip to show up (that should be loaded using the OnAjaxUpdate event) in a usercontrol?

    Because when I only use the TooltipManager in a usercontrol, it's all fine, but the moment I add this usercontrol to the RadAjaxManager

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
                <telerik:AjaxSetting AjaxControlID="ctl"
                        <telerik:AjaxUpdatedControl ControlID="ctl" /> 

    I get the effect that the tooltip is trying to open but it gets closed after it finishes it's AJAX call, btw the updatepanel wrapping the UserControl is in 'Conditional' updatemode.

  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 26 Oct 2009 Link to this post

    Hi Christoph,

    Indeed, you are correct that when using a RadToolTipManager which loads the content through AJAX, you actually get an update panel and when you ajaxify with the RadAjaxManager you wrap the updated content with another update panel - as a result you get nested update panels and thus, tje outermost update panel should have UpdateMode="Conditional". However, you say that "the updatepanel wrapping the UserControl is in 'Conditional' updatemode" and at the same time you are using RadAjaxManager. This makes me think that you have captured the OnAjaxSettingCreating event of the RadAjaxManager and you have set UpdateMode="Conditional" for its update panel there. If so, please note that in some cases this property of the manager does not work as you expect and I assume that this is your case.

    This being said, I recommend to remove the setting from the RadAjaxManager and to use a standard update panel with UpdateMode="Conditional" for ajaxifing your user control instead of ajax  manager - this should fix the problem.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top