This is a migrated thread and some comments may be shown as answers.

[Solved] Telerik is not defined

1 Answer 171 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 20 May 2008, 03:30 PM
I'm getting a "Telerik is not defined" error on a new project page I just created.  The controls show up on the page, but don't do anything.

My web.config has these entries in the controls section:
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

IIS is set not to verify if a file exists for .adx extention.

What should I look for to fix this error?  Thanks in advance!

----------------
Update:  I had to add:

<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

    validate="false" />

back to my web.config file.  I had moved it to the machine.config, but for some reason it wasn't seeing it, and thus giving me the error above.  In testing why, I made sure to remove "   <remove path="*.asmx" verb="*" />", so I know that didn't affect it.

Any reason why it wouldn't work with the path in the machine.config?

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 May 2008, 12:52 PM
Hello Bob,

I just tested the scenario you describe and did not experience any problems with it. I have attached my machine.config file containing only the Telerik.Web.UI.WebResource.axd httphandler. Anyway the missing handler declaration should throw different exception and not the one you've encountered. Please try replacing the RadScriptManager with asp:ScriptManager and verify if the error persists. You can review this help article and this blog post as well.

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Bob
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or