asp.net的ScriptManager和UpdatePanel控件失踪 [英] asp.net ScriptManager and UpdatePanel controls missing

查看:111
本文介绍了asp.net的ScriptManager和UpdatePanel控件失踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个新的ASP.NET Web应用程序,但对于ScriptManager的UpdatePanel的和对照失踪。谷歌搜索,并在web.config搞乱公平位后,我无法让他们正确安装。

I have created a new ASP.NET Web Application, but the controls for ScriptManager and UpdatePanel are missing. After a fair bit of googling, and messing with the web.config, I am unable to get them installed properly.

我在他们所安装并运行另一个项目,我已经穿过复制的所有从web.config中的code,但仍然没有运气。

I have another project in which they are installed and working, and I have copied all of the code from web.config across, but still no luck.

也许Visual Studio中有很多自动安装它的工具?或者是一厢情愿的想法?!

Maybe Visual Studio has a tool for installing it automatically?! Or is that wishful thinking?!

推荐答案

我通过添加以下到我的web.config文件中解决了这个问题...

I solved this issue by adding the following to my web.config file ...

  <system.web>    
    <pages>
      <controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </controls>
    </pages>
  </system.web>

这篇关于asp.net的ScriptManager和UpdatePanel控件失踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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