Dynamically load TargetControl on RadTooltipManager

3 posts, 0 answers
  1. Lorenzo
    Lorenzo avatar
    14 posts
    Member since:
    Oct 2010

    Posted 30 Nov 2010 Link to this post

    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. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 06 Dec 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Lorenzo
    Lorenzo avatar
    14 posts
    Member since:
    Oct 2010

    Posted 07 Dec 2010 Link to this post

    Ops!
    Now work right!

    Thanks a lot!

    Francesco
Back to Top