ASP.NET AJAX Controls don't work

3 posts, 0 answers
  1. Oksana
    Oksana avatar
    25 posts
    Member since:
    Mar 2009

    Posted 12 Mar 2013 Link to this post

    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. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 13 Mar 2013 Link to this post

    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.
  3. Andrew
    Andrew avatar
    5 posts
    Member since:
    Apr 2011

    Posted 18 Apr 2013 Link to this post

    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"/>
Back to Top