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

JScript runtime error "Type" is undefined

6 Answers 598 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 30 Apr 2008, 09:37 PM
I am running 4.15.08 release of Telerik Ajax controls.
I am using Visual Studio 2008 (fully updated).

I was getting "Errors on page" in IE7. Unchecked disable script debugging. In the Tekerik.Web.UI.Common.Core.js  on this line is the error:

                 Type.registerNamespace("Telerik.Web.UI") 

I have a Telerik Tabstrip on the page. this error occurs when page loads:
              Microsoft JScript runtime error: 'Type' is undefined

Other than the Telerik.Web.UI.dll and Telerik.Web.UI.xml files in the project's bin folder there is nothing else for Telerik in my Solution.

I have no previous versions of telerik installed on this system.

Any ideas for this?

Thank you in advance!

6 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 01 May 2008, 06:52 AM
Hello John,

It seems the error is often met when working with ASP.NET AJAX. Looking at the search results you can check for example this post discussing the error and a similar one.

Regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Rak
Top achievements
Rank 1
answered on 30 Apr 2012, 09:17 AM
Hi Konstantin,

I follwoed the steps given in the POST link you gave but didn't help me any more. Iam still getting error following error:
Microsoft JScript runtime error: 'Type' is undefined
 

 

Type.registerNamespace(

 

"Telerik.Web.UI");

 


in Telerik.Web.UI.WebResource_2.axd file that created dynamically by VS.

Thanks,
Rakesh
0
Guy
Top achievements
Rank 1
answered on 14 Sep 2012, 01:56 PM
Any news on this ???  I have the same problem !!! Telerik controls not working in IE but they do work in Firefox.

It should be a local problem because my hosted application from external server has same problem.

The samples of Telerik are working fine.

Any clue ?

Best regards

Guy Van Dyck
0
Vasil
Telerik team
answered on 18 Sep 2012, 03:51 PM
Hi,

It is some configuration problem that you are facing.

Did you checked the General Troubleshooting section of our documentation? Best to see the whole Troubleshooting section plus the Installation and deployment instructions.

Regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Joel
Top achievements
Rank 1
answered on 06 Jul 2014, 05:22 AM
In my case the problem was this web config line

<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>

Since my application pool is set to 4.0 the runtimeVersionv2.0 value was screwing things, I just changed it to 4.0 and problem solved.
0
Sagi
Top achievements
Rank 1
answered on 10 May 2016, 12:11 PM

in my case the problem was the AjaxFrameworkMode set to Disabled in the asp:ScriptManager tag.

once changed to the bellow, all was sorted.

<asp:ScriptManager runat="server" AjaxFrameworkMode="Enabled">

Tags
Ajax
Asked by
John
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Rak
Top achievements
Rank 1
Guy
Top achievements
Rank 1
Vasil
Telerik team
Joel
Top achievements
Rank 1
Sagi
Top achievements
Rank 1
Share this question
or