当我们将Ajax与.netfarmework 2.0一起使用时,更新面板未显示 [英] Update panel is not showing when we use ajax with .netfarmework 2.0

查看:61
本文介绍了当我们将Ajax与.netfarmework 2.0一起使用时,更新面板未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,朋友们,我正在使用Ajax开发.net Framework 2.0.我的ajax控件工具包的所有控件都正常工作,但是更新面板没有出现问题.
显示错误:-
错误25需要对包含基类``System.Web.UI.ScriptManager''的程序集``System.Web.Extensions,Version = 3.5.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35''进行引用.将一个添加到您的项目.
请帮助我的朋友

这是我的web.config:-

Hello friends i am working on .net framework 2.0 with ajax. All controls are working properly of my ajax control toolkit , but update panel is not wrking.
It is showing error :-
Error 25 Reference required to assembly ''System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'' containing the base class ''System.Web.UI.ScriptManager''. Add one to your project.
Please help me friends

This is my web.config:-

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  
	<connectionStrings>
    <add name="ConnectionString" connectionString="Server='174.22.84.,8888';Initial Catalog='in';User Id='inma';Password='tan'" />
      <!--<add name="ConnectionString" connectionString="Server='.';Initial Catalog='inma';Integrated Security=true;" />-->
	</connectionStrings>
	<system.web>
    <compilation debug="true" strict="false" explicit="true">
      <codeSubDirectories>
        <add directoryName="VB_Code"/>
        <add directoryName="CS_Code"/>
      </codeSubDirectories>
    </compilation>
    <pages>

      <controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      </controls>
    </pages>
    <!--<httpRuntime requestValidationMode="2.0" />-->
    <!--<compilation debug="true" targetFramework="4.0"/>-->
		<authentication mode="Forms">
			<forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
		</authentication>
   
		<membership>
			<providers>
				<clear/>
				<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
			</providers>
		</membership>
		<profile>
			<providers>
				<clear/>
				<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
			</providers>
		</profile>
		<roleManager enabled="false">
			<providers>
				<clear/>
				<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
				<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
			</providers>
		</roleManager>
	</system.web>
		<system.webServer>
  		<modules runAllManagedModulesForAllRequests="true"/>
	</system.webServer>
</configuration>

推荐答案











<pre lang="c#">
<code>
<
>
&
<a href=""></a>
<a href=""></a>[<a href="" target="_blank"></a>]
<a href=""></a>[<a href="" target="_blank"></a>]
</code>


这篇关于当我们将Ajax与.netfarmework 2.0一起使用时,更新面板未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆