Powered by Blogger.

Friday, February 14, 2014

Type is undefined scriptresource axd in AjaxControllToolkit

Here we will discuss how to resolve AjaxControlToolkit error type is undefined scriptresource axd. Also you can check my previous posts on:

- How to check the strength of the password using PasswordStrength Ajax control in asp.net?

- Call stored procedure in Asp.Net using C#.Net

- Tutorial on MVVM with WPF

This error usually comes in Asp.Net 4.0 with IIS 7 or IIS 7.5

Add the below tag in web.config file and the error should not come.

      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD"path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />