tooltipmanager in ajaxified panel

2 posts, 0 answers
  1. Albert Shenker
    Albert Shenker avatar
    550 posts
    Member since:
    Mar 2004

    Posted 30 Nov 2011 Link to this post

    I have a grid which I tooltipify using tooltipmanager. These controls reside in a UserControl, which is in turn placed in a panel on my page. I ajaxify the panel using RadajaxManager. I am running into the problem of the ToolTipManager's OnAjax Update getting screwed up because I assume this scenario causes nested update panels to be rendered. The reason I ajaxify the panel is because it contains other controls which I would like to update through ajax when a certain button is clicked on the page, and primarily, because I would like a loading image to display over the whole panel and its controls, not just the grid. Now, I have managed to get this to work by exposing the grid and tootipmanager as properties of the usercontrol, and ajaxifying these directly. In this way, I am able to avoide the nested update panels and the tooltipmanager works fine. However, its not exactly the interface I'm looking for. In this case, the loading panel only appears over the grid. I have read some forum posts regarding conditional updating and I'm not sure if that would help in my scenario, or if its possible with RadAjaxManager. Can anyone make any suggestions about how to get tooltipmanager in an ajaxified panel to work properly?
  2. Marin Bratanov
    Marin Bratanov avatar
    3555 posts

    Posted 05 Dec 2011 Link to this post

    Hi Albert,

    When updating such container controls (like the RadToolTipManager) via the AJAX settings you would indeed get nested update panels. What I can suggest is that you use a regular asp update panel to wrap you UC and set its UpdateMode to Conditional. This should eliminate the issue from the nesting of the panels.

    Another option is to use the current solution you have (ajaxifying the separate controls inside the UC), yet use some JavaScript to show/hide a RadAjaxLoadingPanel that is explicitly declared on the page instead of using the built-in one. More information on the approach is available here. This approach can be used to cover the entire UC by setting the proper target for the RadAjaxLoadingPanel (i.e. the entire panel and not the AJAX initiator).

    Kind regards,
    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
  3. DevCraft R3 2016 release webinar banner
Back to Top