I am trying to put RadToolTip in a composite control.. here is the code that I am trying to build....
public class OCToolTip : CompositeControl
private RadToolTip tip;
private Image image;
protected override void CreateChildControls()
tip = new RadToolTip();
image = new Image();
image.CssClass = "helpImage";
tip.TargetControlID = image.ID;
tip.IsClientID = true;
tip.ShowEvent = ToolTipShowEvent.OnClick;
tip.OnClientBeforeShow = "ShowToolTip";
protected override void Render(HtmlTextWriter writer)
It shows up the image but is not accepting the client click event. Any ideas what is wrong?
PS: I also tried to create a user control for RadToolTip but that did not work, the idea is that I need to use a help icon in various parts of my program and want to use radtooltip for that, is there an alternate solution?