Nero

Node.js的并发性远没有传言的那么好,回调的机制.NET中的async和await能达到一样的效果,哼。

博客园 首页 新随笔 联系 订阅 管理

因为项目中有一个需求需要使用calendar控件,而且样式要和Reporting Service中的尽量一致,搜索了很久发现还是微软的AjaxControlToolkit提供的CalendarExtender比较适合,但是昨天在使用的时候碰到很奇怪的问题,也许有不少做SharePoint的朋友遇到过这个问题,没办法AjaxControlToolkit中确实有不少好用的控件,不用可惜了.

问题描述:

使用的是3.5的版本,在web.config中添加了assembly,也在globalCache中添加了相应的assembly.但是使用了CalendarExtender的页面居然要刷新2次才能正常显示日期控件.

原因:

原因很简单,在SharePoint 2010中我们不能用3.5,4.0等等版本,目前只有这个3.0.XXX版本合适,更换版本后页面正常.

参考文章:

http://ranaictiu-technicalblog.blogspot.com/2010/08/ajax-control-toolkit-with-sharepoint.html

 

很赞成老外的话:

Its really hard to believe that Ajax Control Toolkit’s  latest version doesn’t work with SharePoint. We expect to have the latest version of Ajax Control Toolkit to be compatible with SharePoint 2010. Until then we might have to use an old version of Ajax Control Toolkit.

 

posted on 2013-10-10 14:45  强盗罗吉  阅读(461)  评论(1编辑  收藏  举报