猛梦源

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

下面将记录每一步的操作过程。
  1、首先打开我的网站,依次点击Document Center、Documents,进入Documents列表页面。



  2、在Documents列表界面中点击Settings,在弹出的菜单中选择Document Library Settings,即进入Customize Documents设置页面。


  3、使用Reflector工具找出Eallies.EventHandler.Demo.dll的Assembly信息。


  4、在Customize Documents设置页面中点击Advanced Settings项,则进入Document Library Advanced Settings页面。
  在Document Library Advanced Settings页面中,找到Backwards Compatible Event Handler项,并在Assembly Name和Class Name中分别输入完整的Assembly信息和类名。
  这里,笔者输入的Assembly Name为:Eallies.EventHandler.Demo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0173693e8368fd96(从Reflector中复制过来就行了)。Class Name为:Eallies.EventHandler.Demo.DocumentHandler。



  至此,附加文档库EventHandler程序就成功了。

posted on 2012-03-12 16:23  猛梦源  阅读(124)  评论(0编辑  收藏  举报