Trigger Ajaxupdate from javascript

3 posts, 0 answers
  1. Mooka
    Mooka avatar
    16 posts
    Member since:
    Aug 2006

    Posted 07 Jun 2011 Link to this post

    Hello all,

    I'm interested in displaying a dynamically loaded user control inside a RadToolTipManager using the AjaxUpdate method from javascript when using the onRowDblClick event of the RadGrid.

    I've tried calling the following, which does open the tooltip, but does not call the ajaxupdate:

     function editRole(sender, eventArgs) {

                    var tooltip = $find('<%= ttAddVariable.ClientID %>');

                    setTimeout(function () {
                    }, 100);  
  2. Marin Bratanov
    Marin Bratanov avatar
    3899 posts

    Posted 09 Jun 2011 Link to this post

    Hi Mooka,

    You need to show the tooltip that corresponds to the appropriate row, not call the manager's show command. Doing so will automatically trigger the AjaxUpdate event. How to do that is exaplained in the following demo on the ToolTIpManager's client-side API: More information on how to pass the needed value to the user control is available in the following remo:

    For your convenience I created and attached a simple page demonstrating this functionality. Here is a video with the expected behavior:

    I hope my reply was helpful.

    All the best,
    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.

  3. Mooka
    Mooka avatar
    16 posts
    Member since:
    Aug 2006

    Posted 13 Jun 2011 Link to this post

    This worked great thank you!
Back to Top