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

tooltipmanager in ajaxified panel

1 Answer 48 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 30 Nov 2011, 04:35 PM
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?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 05 Dec 2011, 09:35 AM
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,
Marin
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
Tags
ToolTip
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or