Stupid problem probably but make me crazy. I have link button. I want to display tool tip with image when i hover it with mouse. But I am not able to show image in tool tip. I get only tool tip without image This is my code. Please help.
*.aspx
*.cs
*.aspx
<script type="text/javascript"><br> var currentTooltip = null;<br><br><br> function OnClientBeforeShow(sender, args) {<br> //Hide the currently visible tooltip <br> if (currentTooltip) {<br> if (currentTooltip != sender) currentTooltip.hide();<br> return;<br> }<br><br><br> currentTooltip = sender;<br> args.set_cancel(true);<br> }<br><br><br> function centerTooltip(img) {<br> if (currentTooltip) {<br> currentTooltip.set_contentElement(img);<br><br><br> //use the method updateLocation because it does not call WebService's method which loads the content <br> currentTooltip.updateLocation();<br> currentTooltip = null;<br> }<br> }<br> </script><br><br><br> <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Position="center"<br> RelativeTo="BrowserWindow" OnClientBeforeShow="OnClientBeforeShow" EnableShadow="true" Height="500" Width="500"> <br> </telerik:RadToolTipManager><br><br><asp:LinkButton ID="LinkButton1" runat="server">over me</asp:LinkButton>*.cs
protected void Page_Load(object sender, EventArgs e)<br> {<br> this.RadToolTipManager1.TargetControls.Add(this.LinkButton1.ClientID, "~/camry xle wheel.jpg", true);<br> }