Error “Telerik is undefined”

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 09:42:39

Please try to use this code in Web config,

<httpHandlers>
  <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" />
</httpHandlers>

and

<handlers> <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /></handlers>

I was able to run the Telerik with these two settings in Web Config

If you are using Telerik 2013-3-1015 than replace

<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>

With

<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2013.3.1015.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false"/>

In web.config

to check your version of Telerik. Go to Solution Explorer -> References click on Telerik.Web.UI now in Properties windows check version attribute

Enjoy... !!!!

Please add these lines to the web config

<location path="Users/Telerik.Web.UI.WebResource.axd">
<system.web>
    <authorization>
        <allow users="*"/>
    </authorization>
</system.web>
</location>

<location path="Telerik.Web.UI.WebResource.axd">
<system.web>
    <authorization>
        <allow users="*"/>
    </authorization>
</system.web>
</location>

See if you have this line in your web.config and comment it out:

  <add key="Telerik.ScriptManager.TelerikCdn" value="Enabled" />
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!