This is a migrated thread and some comments may be shown as answers.

Microsoft JScript runtime error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.

6 Answers 178 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
hgmamaci
Top achievements
Rank 2
hgmamaci asked on 24 Dec 2010, 10:23 AM

hi,

I Got this error and my radstriptab , OnTabClick occur error. all ajax process failed.. "Microsoft JScript runtime error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method."

When RadTabStrip clicked, I got this error. I use like that.. Also there is no error on 'Telerik.Web.UI_2010_2_826'  , but I update to 'Telerik.Web.UI_2010_3_1215' version and error occur..  Why the newest version occur that error. ? help...

 

 

<asp:MultiView ID="mwMainProcess" runat="server" ActiveViewIndex="1">
<asp:View ID="vMProcessList" runat="server">
  /// some control
</asp:View>
<asp:View ID="vMProcessEntry" runat="server">
<telerik:RadTabStrip ID="rtsProcess" runat="server" MultiPageID="mwProcess" SelectedIndex="0" OnTabClick="rtsSite_TabClick">
<Tabs>
<telerik:RadTab Selected="True" Text="Deka Emri" Value="0"></telerik:RadTab>
<telerik:RadTab Text="Mteri Bilgileri" Value="1"></telerik:RadTab>
<telerik:RadTab Text=" Bilgileri" Value="2"></telerik:RadTab>
<telerik:RadTab Text="Dkman" Value="3"></telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="mwProcess" runat="server" SelectedIndex="0">
<telerik:RadPageView ID="vProcessIE" runat="server">
    <uc1:ProcessOrder ID="ProcessOrder1" runat="server" />
</telerik:RadPageView>
<telerik:RadPageView ID="vProcessCInfo" runat="server">
    <uc2:ProcessOrderCINFO ID="ProcessOrderCINFO1" runat="server" />
</telerik:RadPageView>
<telerik:RadPageView ID="vProcessJobInfo" runat="server">
    <uc3:ProcessOrderJobInfo ID="ProcessOrderJobInfo1" runat="server" />
</telerik:RadPageView>
<telerik:RadPageView ID="vProcessDoc" runat="server">
    <uc4:UploadDocuments ID="UploadDocuments1" runat="server" DocumentType="IE" />
</telerik:RadPageView>
</telerik:RadMultiPage>
</asp:View>
</asp:MultiView>

 

6 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 28 Dec 2010, 10:37 AM
Hi Dogan,

Unfortunately we weren't able to reproduce this error here, maybe it is closely related to the rest of your code. Can you open a support ticket and send a sample project or live URL plus a link to this thread? Then we will be able to track the source of the error and provide you with a solution. Thank you in advance.

All the best,
Kamen Bundev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 29 Dec 2010, 02:54 AM
We have also seen the "Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method. " appear since we upgraded to the latest Telerik version. As far as we see, this is only in Internet Explorer, in Firefox and Opera, it is working.
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 29 Dec 2010, 01:11 PM
When we revert back to the previous installed Telerik version, 2010.3.1109.40 in our case, it works as expected again. No other changes made to the application. Just to confirm, we again copied the DLLs of 2010.3.1215.40 into the bin folder replacing the ones from 2010.3.1109.40 and the problem immediately reappeared again. Please note that in our application, it is RadGrids that are causing the same error messages, but I believe this is rather related to the Telerik DLLs than the RadXXX components used.

The only conclusion I can draw from this is that there is a bug in the latest Telerik that needs to be corrected ASAP.
0
Pavel
Telerik team
answered on 29 Dec 2010, 01:35 PM
Hello Patrik,

Our developers have identified and already fixed the issue which is caused by RadGrid. You can download our latest internal build for a hotfix. For more details and a workaround please refer to this forum thread. Please excuse us for the caused inconvenience.

All the best,
Pavel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 29 Dec 2010, 02:41 PM
That is great news!

But....reading what is listed on the "internal builds" page:

  • intended for development only
  • not recommended for production purposes
As this update is required for the 2010.3.1215.40 version to work, this must indirectly mean that 2010.3.1215.40 is also not recommended for production purposes, until an official patch is released, right?
0
Pavel
Telerik team
answered on 29 Dec 2010, 02:50 PM
Hello Patrik,

Indeed, it is generally not recommended to use an internal build in production. One option is to use the 2010.3.1215 release and add the javascript workaround (suggested in the linked forum thread) on the affected pages. Alternatively you can revert to our previous release and wait for the next service pack which is scheduled for the second half of January (around the 20th).

I hope this information helps.

Greetings,
Pavel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
TabStrip
Asked by
hgmamaci
Top achievements
Rank 2
Answers by
Kamen Bundev
Telerik team
improwise
Top achievements
Rank 1
Iron
Iron
Pavel
Telerik team
Share this question
or