zoukankan      html  css  js  c++  java
  • 关于SharePoint 2010中不能使用AjaxControlToolkit的解决办法

    因为项目中有一个需求需要使用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.

  • 相关阅读:
    ammap demo
    sql批量新增和修改
    js右键菜单
    C# 索引器
    NUnit使用体会
    js拖动效果
    Js 原型对象与原型链(转)
    sql for xml子句
    ASP.NET应用程序生命周期
    HttpWebRequest和HttpWebResponse
  • 原文地址:https://www.cnblogs.com/nero/p/3361251.html
Copyright © 2011-2022 走看看