This is a migrated thread and some comments may be shown as answers.

TooltipManager in Ajax UserControl

1 Answer 82 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Christoph De Herdt
Top achievements
Rank 1
Christoph De Herdt asked on 21 Oct 2009, 10:27 AM
Hello,

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"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="ctl"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="ctl" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
        </telerik:RadAjaxManager> 

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.

Greetings

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 26 Oct 2009, 07:27 AM
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,
Svetlina
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.
Tags
ToolTip
Asked by
Christoph De Herdt
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or