Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  123 Posts | 0 Stories | 718 Comments | 677 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

The following javascript error occurs when trying to use the Telerik controls and you haven't updated your ASP.NET (2.0) web.config file correctly.

Error: 'Telerik' is undefined

To fix make sure the following lines are within the <system.web> section of your web.config file:

<httpHandlers>
  <
add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
  <
add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
  <
add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
</
httpHandlers>

In my case I was missing the ScriptResource.axd line.   Also, you only need the ChartImage.axd line if you're using the chart control.

HTH
Tim

posted on Wednesday, July 09, 2008 9:03 AM

Feedback

# re: Javascript error using Telerik controls with ASP.Net: Error: 'Telerik' is undefined 7/17/2008 7:53 AM Bill Parrott
We have had a difficult time getting our Telerik controls to work. Adding these httpHandlers solved the problem and now our development site is now operational!

Thanks for posting this and for the work you did to find the answers. You've been a great help.

You have earned a bookmark in my browser! :)

Thanks!

Bill

# re: Javascript error using Telerik controls with ASP.Net: Error: 'Telerik' is undefined 7/18/2008 10:10 AM guido
Thankyou thankyou thankyou!

# re: Javascript error using Telerik controls with ASP.Net: Error: 'Telerik' is undefined 8/22/2008 1:18 AM gsreedy
i used the trail versions of the dll and they i used the puchased version of telerik dll .javascript error (telerik is undefiend) can u help me in this regard

Post Feedback

Title:
Name:
Email: (never displayed)
Url:
Comments: 
Please add 2 and 1 and type the answer here: