Dear Community!
I have the following problem:
I created a simple test with a button and a tooltip-control on the site. When I click the button, the tooltip has to be shown. Therefore, I use the ShowEvent-property and set this to "OnClick".
In InternetExplorer, this works fine, but in Opera and Firefox, the tooltip is not shown. When I use the same technique, but replace the button control with a linkbutton-control, it also works for Opera and Firefox.
I think, the issue can be the runat-tag (I can'T leave this out for a button, because else, it is not rendered on the final page).
Please have a look at the following code-block (the code-behind-file has no special code).
Help would really be appreciated.
Best regards,
M. Beyer
I have the following problem:
I created a simple test with a button and a tooltip-control on the site. When I click the button, the tooltip has to be shown. Therefore, I use the ShowEvent-property and set this to "OnClick".
In InternetExplorer, this works fine, but in Opera and Firefox, the tooltip is not shown. When I use the same technique, but replace the button control with a linkbutton-control, it also works for Opera and Firefox.
I think, the issue can be the runat-tag (I can'T leave this out for a button, because else, it is not rendered on the final page).
Please have a look at the following code-block (the code-behind-file has no special code).
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> |
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> |
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title>Untitled Page</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<asp:ScriptManager ID="ScriptManager1" runat="server" /> |
<telerik:RadToolTip ID="RadToolTip" runat="server" Width = "300px" |
Height = "100px" |
Animation = "Resize" |
Position="BottomRight" |
ManualClose="True" |
ShowEvent="OnClick" |
IsClientID="true" |
TargetControlID="Button1" |
Skin="Inox" |
/> |
<div> |
<br /> |
<asp:LinkButton ID="LinkButton1" >Details</asp:LinkButton> |
<br /><br /> |
<asp:Button ID="Button1" runat="server" Text="Button" /> |
</div> |
</form> |
</body> |
</html> |
Help would really be appreciated.
Best regards,
M. Beyer