IIS7 WIN 7 Telerik.Web.UI.WebResource.axd error 404

2 posts, 0 answers
  1. VIJAY
    VIJAY avatar
    31 posts
    Member since:
    May 2011

    Posted 02 Jan 2013 Link to this post

    HI,
    In my application i m using setfocus method to have focus on a control.
    its working fine in IE8 but in IE9 its giving error 404: webform_autofocus is undefined.


    have added following keys in web config:
     <system.web>
     <httpHandlers>
               <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />

     </httpHandlers>
    </system.web>


     <system.webServer>
    <handlers>
     <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
     </handlers>
     </system.webServer>
  2. Vasil
    Admin
    Vasil avatar
    1642 posts

    Posted 04 Jan 2013 Link to this post

    Hello VIJAY,

    Most probably you are using the setfocus before the scripts are loaded. Try to execute your JavaScript later: after the client PageLoad event.

    Regards,
    Vasil
    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.
Back to Top