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

ASP.NET AJAX Controls don't work

2 Answers 169 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Oksana
Top achievements
Rank 1
Oksana asked on 12 Mar 2013, 09:25 PM
I've upgraded the web site to dot.net framework 4 and Telerik ASP.NET Ajax Controls 2013 Q1 (also tried 2012 Q3) framework 4.0.
It's Windows Server 2008, IIS 7,
Application Pool is .NET fr. 4.0.30319, Integrated mode, Local System account

Telerik Controls do not respond on click events.
RadTabStrip, RadComboBox, RadMenu, RadToolbar

Can see JS error in Web developer tools:
Uncaught ReferenceError: Sys is not defined Uncaught ReferenceError: Telerik is not defined
and many of those:
Failed to load resource: the server responded with a status of 404 (Not Found) ....


web config sections:
<handlers>
  
<remove
name="Telerik_Web_UI_WebResource_axd"/>
   <add name="Telerik_Web_UI_WebResource_axd" preCondition="integratedMode"
       path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"
       verb="*" />
</handlers>
<modules
runAllManagedModulesForAllRequests="true">
  <remove name="RadCompression"/>
 
<add
name="RadCompression" type="Telerik.Web.UI.RadCompression" />
</modules>
<pages enableViewStateMac="false"
clientIDMode="AutoID">
  <controls>
    <add
assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagPrefix="telerik"/>
  </controls>
</pages>

ok, found it, i was using asp ScriptManager on the master which was not registered in web config 
the solution is or register it or use the Telerik Rad.ScriptManager

2 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 13 Mar 2013, 09:08 AM
Hello Oksana,

The exception that you are getting indicates that any of the scripts needed for the RadControls to work properly does not get loaded on the page. Please refer to the following help articles where you can find more detailed information on how to resolve the exceptions that you get:

Greetings,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Andrew
Top achievements
Rank 1
answered on 18 Apr 2013, 08:46 PM
My solution was to remove "runtimeVersionv2.0" from
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
Tags
General Discussions
Asked by
Oksana
Top achievements
Rank 1
Answers by
Kate
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or