:not fire any event in updatepanel

66 Views Asked by At

i have a website with .Net2 . I Changed it built target to .Net4.5 and changed it pool to .net 4 from IIS. but any event in updatepanel not firing(such as butun_click or dropdown_Changed and ...) all of them work correctly on .net 2. any idea?

Edit: i delete:

        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

  <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>

            <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

  <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

from web.config becuase duplicated error.

1

There are 1 best solutions below

0
On BEST ANSWER

finally i found the solution. the problem was with this line:

 Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest(InitializeRequestHandler);
    function InitializeRequestHandler(sender, eventArgs) {
        if (sender._postBackSettings.panelID.indexOf('folCountTimer') != -1) {
            return;
        }
        $("#updateProgresJQuery").slideDown(300);
    }

i delete it and every thing work correctly.