The button is declared as
<asp:ImageButton ID="ibEDSInfo" runat="server" ImageUrl="~/Images/info.gif"
OnClientClick="return false" />
The Rad Tool Tip Manager as
<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Position="BottomCenter" RelativeTo="Element" HideEvent="LeaveToolTip"
Animation="Fade" Width="350px" Skin="Office2007" OnAjaxUpdate="onAjaxUpdate">
</telerik:RadToolTipManager>
The Server code is
protected void onAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
{
this.UpdateToolTip(args.Value, args.UpdatePanel);
}
private void UpdateToolTip(string elementID, UpdatePanel panel)
{
Control ctrl = Page.LoadControl("~/UserControls/EDSDetailUC.ascx");
panel.ContentTemplateContainer.Controls.Add(ctrl);
UserControls_EDSDetailUC details = (UserControls_EDSDetailUC)ctrl;
details.EDSId = elementID;
}
The code to add the image to the tool tip manager is
RadToolTipManager1.TargetControls.Add(ibEDSInfo.ClientID, oTool.EDSId.ToString(),
true);
However, it seems the ajaxupdate is not raised at any circumstances.
What is wrong with my code snippet?