JScript runtime error "Type" is undefined

7 posts, 0 answers
  1. John
    John avatar
    8 posts
    Member since:
    Apr 2008

    Posted 30 Apr 2008 Link to this post

    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!
  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 01 May 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rak
    Rak avatar
    1 posts
    Member since:
    Apr 2012

    Posted 30 Apr 2012 Link to this post

    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
  5. Guy
    Guy avatar
    10 posts
    Member since:
    Mar 2009

    Posted 14 Sep 2012 Link to this post

    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
  6. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 18 Sep 2012 Link to this post

    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.
  7. Joel
    Joel avatar
    19 posts
    Member since:
    Oct 2011

    Posted 06 Jul 2014 Link to this post

    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.
  8. Sagi
    Sagi avatar
    1 posts
    Member since:
    Aug 2015

    Posted 10 May Link to this post

    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">

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017