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

Dynamically load TargetControl on RadTooltipManager

2 Answers 89 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Lorenzo
Top achievements
Rank 1
Lorenzo asked on 30 Nov 2010, 02:57 PM
Hi!

This is my scenario:
I dynamically load my target control "m_View_lnk_Username" in my "RadToolTipManager1" but when I click with the mouse on the Hyperlink the page don't call "OnAjaxUpdate" methods. Why?

HTML:
<telerik:RadToolTipManager ID="RadToolTipManager1" HideEvent="ManualClose"
        Width="600" Height="500" runat="server" EnableShadow="true" OnAjaxUpdate="OnAjaxUpdate"
        RelativeTo="Element" Position="BottomRight" Modal="true" ShowEvent="OnClick">
    </telerik:RadToolTipManager>

<asp:HyperLink ID="m_View_lnk_Username" runat="server" NavigateUrl="#" />

C# (Page_Load method):
this.RadToolTipManager1.TargetControls.Add( m_Update_lnk_Username.ClientID, "104", true );


Thanks in advance,

Francesco

2 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 06 Dec 2010, 08:51 AM
Hello Lorenzo,

I see that you add a different control's ID to the RadToolTipManager's TargetControls collection:

<asp:HyperLink ID="m_View_lnk_Username" runat="server" NavigateUrl="#" />

C# (Page_Load method):
this.RadToolTipManager1.TargetControls.Add( m_Update_lnk_Username.ClientID, "104", true );

Could you please add the right control and you sound not experience the same issue?

Greetings,
Fiko
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Lorenzo
Top achievements
Rank 1
answered on 07 Dec 2010, 10:00 AM
Ops!
Now work right!

Thanks a lot!

Francesco
Tags
ToolTip
Asked by
Lorenzo
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Lorenzo
Top achievements
Rank 1
Share this question
or