I have a page with a RadToolBar which works perfectly in IE7 and Firefox 3 but having installed IE8 it throws a script error when a button is clicked.
I have created a stripped down page with just a toolbar in and I am getting the same error. The error occurs when clicking on a dropdown item from a RadToolBarSplitButton or a RadToolBarDropDown.
According to the IE8 script debugger the error is:
The line the error points to is
The error is thrown as the dropdown closes.
I'm using Visual Studio 2008 and the project is using .NET Framework 3.5 SP1 with the 2009.1.311.35 version of the Telerik.Web.UI.dll from the Bin35 folder.
Is this a known error and is there a fix for this?
Thanks,
Nick
I have created a stripped down page with just a toolbar in and I am getting the same error. The error occurs when clicking on a dropdown item from a RadToolBarSplitButton or a RadToolBarDropDown.
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="NoPanes.aspx.vb" Inherits="TelerikSplitterTest.NoPanes" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title></title> |
<script type="text/javascript"> |
function toolbarOnClientClicking(sender, args) { |
var button = args.get_item(); |
alert('you clicked ' + button.get_text()); |
} |
</script> |
</head> |
<body> |
<form id="form1" runat="server"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<div> |
<telerik:RadToolBar ID="RadToolBar1" runat="server" dir="rtl" Font-Size="5px" OnClientButtonClicking="toolbarOnClientClicking"> |
<Items> |
<telerik:RadToolBarButton Text="Button One" /> |
<telerik:RadToolBarSplitButton Text="Button Two" EnableDefaultButton="false"> |
<Buttons> |
<telerik:RadToolBarButton Text="Option One" /> |
<telerik:RadToolBarButton Text="Option Two" /> |
</Buttons> |
</telerik:RadToolBarSplitButton> |
<telerik:RadToolBarDropDown Text="Button Three"> |
<Buttons> |
<telerik:RadToolBarButton Text="Option One" /> |
<telerik:RadToolBarButton Text="Option Two" /> |
<telerik:RadToolBarButton Text="Option Three" /> |
<telerik:RadToolBarButton Text="Option Four" /> |
</Buttons> |
</telerik:RadToolBarDropDown> |
</Items> |
</telerik:RadToolBar> |
</div> |
</form> |
</body> |
</html> |
According to the IE8 script debugger the error is:
Invalid argument. Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.1.311.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3af48f6488-574a-46fe-9b15-624f013d8c03%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3aa7e79140, line 4240 character 1 |
The line the error points to is
this.get_animationContainer().style.zIndex=this._originalZIndex; |
The error is thrown as the dropdown closes.
I'm using Visual Studio 2008 and the project is using .NET Framework 3.5 SP1 with the 2009.1.311.35 version of the Telerik.Web.UI.dll from the Bin35 folder.
Is this a known error and is there a fix for this?
Thanks,
Nick