All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
C#使用foreach来读取记录_[Asp.Net教程]
怎样才能成为PHP高手?学会“懒惰”的编程_php资料_编程技术
Access数据库在asp.net程序中相对路径的解决方法_[Asp.Net教程]
不用改文件名,防止IIS文件被下载方法_[Asp.Net教程]
php中session使用简介_php资料_编程技术
C#中DirectorySearcher组件应用实例
安装JDK,就可同时运行PHP和Java?_php资料_编程技术
XML入门教程-XML CDATA_[XML教程]
delphi弹出菜单组件(TPopMenu)
delphi坐标系统使用方法详解
Reading number is top 10 pictures
The goddess of the single reason1
这才是真正的人体艺术4
Extremely rare TianShan Mountains snow lotus1
Discharge accidentally Actresses by the breast3
Small QiShu -- ShuangShuangPan1
Group of female porn in 《westwards》, uninhibited woman threatened to not the bottom line2
壮丽的云彩2
Sexy women in 2013--1
8090后结婚的各种XX事
2013中国四川省高考作文
Download software ranking
Tram sex maniac 2 (H) rar bag1
Sora aoi, the maid, students' uniforms
Unix video tutorial12
网络管理员第三版
传奇私服架设教程
Tram sex maniac 2 (H) rar bag19
Eclipse 4.2.2 For Win64
Rio big adventure
ASP.NET.2.0.XML.高级编程(第3版)
Ashlynn Video2
delv published in(发表于) 2014/1/10 6:24:38 Edit(编辑)
ASP.NET,AJAX正式版带来的Validator问题及解决方案_[Asp.Net教程]

ASP.NET,AJAX正式版带来的Validator问题及解决方案_[Asp.Net教程]

ASP.NET AJAX正式版带来的Validator问题及解决方案_[Asp.Net教程]

升级到ASP.NET AJAX正式版之后,一般来说重新编译不会有什么问题,不用做什么修改,这是个好消息。不过在执行时就会出现问题了。因为在正式版的程序集中,删除了兼容UpdatePanel的Validator那些类,因此TagMapping时就无法找到需要的类了。如果您在您的项目中没有使用到那些Validator(确切地说,是没有在UpdatePanel中使用那些Validator),那么只要在web.config文件中删除下面的这个元素就可以了:


需要删除的元素

mappedTagType="System.Web.UI.Compatibility.CompareValidator, ..."/>
...



  如果有朋友使用了这些兼容UpdatePanel的Validator,也不用着急,Matt Gibbs已经给出了解决方案。从他的文章里我们得知,那些兼容的Validator将通过Windows Update对于.NET Framework进行升级。虽然我不知道为什么要这么做,但是我们似乎只能这么接受。照目前来说,我们就要下载那些Validator,编译这个项目,并将所得的Validators.dll复制到网站的Bin目录下去。然后在web.config中configuration/system.web/pages节点中添加(或修改)如下的元素:



document.write

mappedTagType="Microsoft.Web.UI.Compatibility.CompareValidator, Validators"/>
mappedTagType="Microsoft.Web.UI.Compatibility.CustomValidator, Validators"/>
mappedTagType="Microsoft.Web.UI.Compatibility.RangeValidator, Validators"/>
mappedTagType="Microsoft.Web.UI.Compatibility.RegularExpressionValidator, Validators"/>
mappedTagType="Microsoft.Web.UI.Compatibility.RequiredFieldValidator, Validators"/>
mappedTagType="Microsoft.Web.UI.Compatibility.ValidationSummary, Validators"/>



  总的来说,正式发布的版本修改的地方还不是很大,移植起来应该还是比较轻松的(Control Toolkit还没有尝试过)。


来源:JeffreyZhao








添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.