JScript Runtime Error: 'Telerik' is undefined

4 posts, 0 answers
  1. Grant Fletcher
    Grant Fletcher avatar
    4 posts
    Member since:
    Apr 2010

    Posted 28 Apr 2010 Link to this post

    Any ideas: When using a Telerik RadScriptManager on a page the following error occurs: Microsoft JScript Runtime Error: 'Telerik' is undefined.  The error occurs at the "$create" line in the snippet, which is automatically generated (line 4):

    <

     

    script type="text/javascript">

     

    <!--

    Sys.Application.initialize();

    Sys.Application.add_init(

    function() {

     

    $create(Telerik.Web.UI.RadAjaxManager, {

    "_updatePanels":"","ajaxSettings":[{InitControlID : "myRadGrid",UpdatedControls : [{ControlID:"myRadGrid",PanelID:""}]}],"clientEvents":{OnRequestStart:"",OnResponseEnd:""},"defaultLoadingPanelID":"","enableAJAX":true,"enableHistory":false,"links":[],"styles":[],"uniqueID":"myRadAjaxManager","updatePanelsRenderMode":0}, null, null, $get("myRadAjaxManager"));

     

    });

    Sys.Application.add_init(

    function() {

     

    $create(Telerik.Web.UI.RadGrid, {

    "ClientID":"myRadGrid","ClientSettings":{"PostBackFunction":"__doPostBack(\u0027{0}\u0027,\u0027{1}\u0027)","AllowExpandCollapse":true,"AllowGroupExpandCollapse":true,"ColumnsReorderMethod":0,"ShouldCreateRows":true,"Selecting":{"EnableDragToSelectRows":true},"Scrolling":{"SaveScrollPosition":true,"ScrollHeight":"300px"},"Resizing":{"ClipCellContentOnResize":true},"ClientMessages":{"DragToGroupOrReorder":"Drag to group or reorder","DragToResize":"Drag to resize","DropHereToReorder":"Drop here to reorder","PagerTooltipFormatString":"Page: \u003cb\u003e{0}\u003c/b\u003e out of \u003cb\u003e{1}\u003c/b\u003e pages"}},"Skin":"WebBlue","UniqueID":"myRadGrid","_activeRowData":"","_clientKeyValues":{},"_currentPageIndex":0,"_gridTableViewsData":"[{\"ClientID\":\"myRadGrid__ctl0\",\"UniqueID\":\"myRadGrid:_ctl0\",\"PageSize\":20,\"PageCount\":1,\"CurrentPageIndex\":0,\"Name\":\"\",\"IsItemInserted\":false,\"clientDataKeyNames\":[],\"_selectedItemStyle\":\"\",\"_selectedItemStyleClass\":\"SelectedRow_WebBlue\",\"_renderActiveItemStyle\":\"\",\"_renderActiveItemStyleClass\":\"ActiveRow_WebBlue\",\"_columnsData\":[{\"UniqueName\":\"EditCommandColumn\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":false,\"Display\":true},{\"UniqueName\":\"sDescription\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sProgramAssignment\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sPersonnelStaffPerson\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sPersonnelAnnualSalary\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sPersonnelNumberOfWeeksBudgeted\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sPersonnelDatesFrom\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sPersonnelDatesTo\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sPercentOfTimeBudgeted\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sAdmin\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sProgram\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sNonCsbgSource\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"sNonCsbgCharge\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"Display\":true},{\"UniqueName\":\"column\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":false,\"Display\":true}]}]","_loadingText":"Loading...","_masterClientID":"myRadGrid__ctl0","_popUpIds":"[]","_readyText":"Ready","_statusLabelID":"myRadGrid__ctl0__ctl3__ctl2_StatusLabel","allowMultiRowSelection":false,"clientStateFieldID":"myRadGrid_ClientState"}, {"gridCreated":GridCreated,"rowClick":RowClick,"rowDblClick":RowDblClick}, null, $get("myRadGrid"));

     

    });

    // -->

    </

     

    script>

     

  2. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 29 Apr 2010 Link to this post

    Hello Grant,

    This is usually related to a WebResource serving problem. Please check this blog post for troubleshooting tips.

    Regards,
    Dimitar Milushev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jessica
    Jessica avatar
    1 posts
    Member since:
    Aug 2013

    Posted 13 Mar 2014 Link to this post

    i have the same problem,  0x800a1391 - JScript Runtime Error: 'Telerik' is undefined,  i already checked my web config.
    i have this in my web config :
    <configuration>
      
      <location path="Telerik.Web.UI.WebResource.axd">
        <system.web>
          <compilation debug="true" targetFramework="4.5">
            <assemblies>
              <add assembly="Telerik.Web.UI, Version=2013.2.717.45, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>
            </assemblies>
          </compilation>
          <pages controlRenderingCompatibilityVersion="4.0"/>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      

      <system.webServer>
        <handlers>
          <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
        </handlers>
      </system.webServer>

      <appSettings>
        <add key="SecurityKey" value="Syed Moshiur Murshed"/>
        <add key="connectionString" value="server=ti02;database=GS_SEG_ACT;user id=usrSigAct;password=usr20145ig"/>
        <add key="provider" value="System.Data.SqlClient"/>
      </appSettings>
    </configuration>



  5. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 14 Mar 2014 Link to this post

    Hi,

    Please review the following help article for common causes for this problem:
    http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html

    If you still receive the error, please send us a support ticket with a sample project that demonstrates the problem, so that we can test it locally.

    Regards,
    Bozhidar
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
Back to Top