This is a migrated thread and some comments may be shown as answers.
OnAjaxUpdate Inside UserControl Inside Ajax...
1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Doug asked on 03 Apr 2013, 11:38 PM

Greetings - I host user control inside an update panel, this user control then contains sub user controls, I want to create something like a drop down load on demand tool tip using the following code.  It doesn't call the instances ajax update but i think the parent's.  How do I get this to work?


<
asp:UpdatePanel runat="server" UpdateMode="Conditional">

<ContentTemplate>

<telerik:RadToolTipManager runat="server" ID="MyRadToolTipManager1" Position="Center" RelativeTo="Element" Animation="Resize"

HideEvent="ManualClose" ShowEvent="OnMouseOver" ShowCallout="true"

RenderInPageRoot ="true"

Skin="Default" OnAjaxUpdate="OnMyRadToolTipManagerAjaxUpdate1" AutoTooltipify="false" >

<TargetControls>

<telerik:ToolTipTargetControl TargetControlID="MyLabel" Value="MyLabel" />

</TargetControls>

</telerik:RadToolTipManager>

<asp:Label runat="server" ID="MyLabel" Text="Content" />

</ContentTemplate>

</asp:UpdatePanel>

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 05 Apr 2013, 01:10 PM
Hello Doug,

This markup calls the expected handler on my end.

Note that the OnAjaxUpdate handler will be called with each postback from the page, regardless of its origin (be it in the tooltip or not) to recreate the controls and this may be causing the confusion on you end.

Also note that only one RadToolTip can be visible on the page in any given moment. I am not sure what "dropdown load-on-demand tooltip" is, but if it includes nested tooltips you will not be able to have them both shown in the same time, showing the second will hide the first which will hide the second's target and thus the second will hide as well.


Regards,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Asked by
Doug
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or