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

RadTooltipManager conflict with RadAjaxManager

1 Answer 89 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Quinten
Top achievements
Rank 1
Quinten asked on 08 Apr 2011, 09:17 PM
Hello,

We have a RadDock-based application.  To provide some key functionality, we use a RadAjaxManager on the page, and add AjaxSettings dynamically for (dynamically-loaded) docks like this:

cRadAjaxManagerControl.AjaxSettings.AddAjaxSetting(dock, dock.ContentContainer, cRadAjaxLoadingPanelControl)

This allows the application to respond to custom DockCommands by updating the dock content in a partial postback.  The dock content is usually an .ascx control.

The Problem: we have an .ascx control that contains a RadGrid.  One of the columns is Tooltipified using RadTooltipManager; it loads another .ascx with row detail when an icon image is clicked. 

This works fine in a non-dock environment, but when we add the .ascx control that contains a RadGrid to the RadDock structure, we have problems with the Tooltip.  As described in other forum articles, the Tooltip appears briefly and then disappears.  It appears that the image click is triggering both the Tooltip *and* the RadAjax partial postback from the dock ContentContainer.

I can try to post a code sample, but the application is complex and spans several assemblies.  I can try to mock something up, if necessary. 

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 11 Apr 2011, 02:59 PM
Hello Patrick,

I already answered your support thread and for your convenience and for others who might have the same question, i pasted my reply below:

I assume that you are using RadToolTipManager with OnAjaxUpdate event - in this case, the content of the tooltip is actually wrapped in an internal update panel which is used to load the content on demand with AJAX. What I suggest is to remove the RadAjax settings and to wrap the content in a standard update panel with UpdateMode="Conditional". In this manner, you will not get both the update panels updated at the same time. In addition, the children will still be triggers for the update panel and you can additionally update it when you want by calling the method Update().

More information about nested update panels is available below:

http://geekswithblogs.net/ranganh/archive/2007/05/16/112525.aspx

Please, test my suggestion and in case it does not help, prepare and share some sample, fully runnable code and I will do my best to help.

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

Tags
ToolTip
Asked by
Quinten
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or