Click here to Skip to main content
13,142,065 members (60,944 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi ,I'm trying to use UpdatePanel in my page ,but after running my web apps ,I got this error in:

1 - Uncaught ReferenceError: Sys is not defined.
1 - Uncaught Error: ASP.NET Ajax Client-Side framework failed to load
2 - Uncaught SyntaxError:Unexpected token in ScriptResource.axd
I have tried many solutions on the web but still problem remain unsolved.
This is my web.config configuration:
      <remove verb="*" path="*.asmx"/>
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add name="AppEvents" type="AppEvents, App_code"/>
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Posted 6-May-13 18:53pm
Updated 6-May-13 18:54pm
The problematic code is not shown.
Alireza_1362 7-May-13 1:38am
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">

<asp:UpdatePanel ID="myupanel" runat="server" UpdateMode="Conditional">
<asp:Label runat="server" Text="Label" ID="lblD">
<asp:Button runat="server" Text="Button" ID="btnc" OnClick="btnclick" />

Alireza_1362 7-May-13 1:42am
I think there is no error in my code ,I guess the problem should be something else
Are you going to think that, or do you want do to development?
Alireza_1362 7-May-13 1:58am
I mean ,when I run the web apps ,I trace it in firebug and in console section ,I saw mentioned problems and I don't know what exactly happen when Ajax request calls ,this is simple application that I wrote and there is no complicated code just the code that I put in response to you ,so I guess maybe there is another reason in background which I don't know. That's why I said I think ,Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 7 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100