ToolTip and WindowConfirm

2 posts, 0 answers
  1. Jack
    Jack avatar
    131 posts
    Member since:
    May 2003

    Posted 18 Apr 2011 Link to this post


    I am trying to get either a RadToolTip working with a GridButtonColumn (because I need to use the RadWindow Confirm)


    A Template column with a RadTooltip inside which also pops up a RadConfirm window.

    I spent a good few hours yesterday and got this working....

    <script type="text/javascript">
            function OnClientClicking(sender, args)
                var callBackFunction = Function.createDelegate(sender, function (argument)
                    if (argument)
                var text = "Are you sure you want to archive this application?";
                radconfirm(text, callBackFunction, 300, 100, null, "Archive?");
     And then this on a RadButton in the Template Column
    <telerik:RadButton ID="imgArchive" runat="server"  CommandName="Refs"  OnClientClicking="OnClientClicking"></telerik:RadButton>

    The problem is that my usercontrols are loaded into a multipage using RenderSelectedPageOnly="true" and ajax.

    When selecting the tab with the control used above I am getting 'OnClientClicking' is undefined.

    All help appreciated.



  2. Mira
    Mira avatar
    1124 posts

    Posted 21 Apr 2011 Link to this post

    Hello Jon,

    I suggest that you use the approach from this forum thread and register the scripts in the usercontrol through the ScriptManager.

    I hope this helps.

    Best wishes,
    the Telerik team

    Browse the vast support resources we have to jump start 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.

Back to Top