I have been able to get RadToolTipManager working in one project, creating everything dynamically, but when I port that code to another more complex project it doesn't seem to work. I think I'm missing something simple.
In the first project I have an asp:UpdatePanel with a PlaceHolder.
In my Page_Init I initialize a RadToolTipManager, and set AjaxUpdate as follows:
tipManager.AjaxUpdate += new ToolTipUpdateEventHandler(tipManager_AjaxUpdate);
One or more asp:ImageButton controls are "tooltipified" by adding them using this:
tipManager.TargetControls.Add(ControlID , Value , IsClient);
Then the manager is added to the Controls collection of the PlaceHolder.
Mouseover events properly fire over the controls, the handler is invoked, and the panel is properly loaded with a defined user control.
I take that code to a project with a master page, a content page, and dynamically loaded user controls.
When a user control is initialized, a PlaceHolder is populated with the RadToolTipManager.
I have a single asp:Button that I'm trying to tooltipify.
The PlaceHolder is on an asp:Panel which is ajaxified at PreRender time using this:
AjaxManager.AjaxSettings.AddAjaxSetting(PanelX , PanelX);
At PreRender time I also reset the text of the TargetControls based on the status of the page, and (not sure if this helps or hurts), I ajaxify each RadToolTipManager I find in the Placeholder:
AjaxManager.AjaxSettings.AddAjaxSetting(btnMyButton,tipManager);
I don't know why but a mouseover on the button will show a .ToolTip value which was added directly to the control, but the AjaxUpdate event isn't fired on the RadToolTipManager.
I've also set the ajax manager to update the container panel whenever the button is updated:
AjaxManager.AjaxSettings.AddAjaxSetting(btnMyButton,PanelX);
Is you can see, I'm trying to ajaxify everything to figure out what triggers the manager's AjaxUpdate event, but haven't had any luck. I don't know if we need to ajaxify just the panel containing the placeholder, the placeholder, the manager, each ToolTipTargetControl in the manager...?
Thanks for your patience.