我想处理在 aspx 页面上发生的事件,特别是 sharepoint webpart 页面。
我在 Visual Studio 事件接收器中找不到任何东西。
有什么办法可以做到这一点?
提前致谢!!
我想处理在 aspx 页面上发生的事件,特别是 sharepoint webpart 页面。
我在 Visual Studio 事件接收器中找不到任何东西。
有什么办法可以做到这一点?
提前致谢!!
是 SharePoint 2007 还是 2010。如果您使用的是 2010,那么使用 Visual Studio 2010 很容易:http: //msdn.microsoft.com/en-us/library/ms453149.aspx
什么类型的事件?如果要在页面生命周期中使用这些方法,可以创建一个 WebPart 并覆盖这些方法:OnInit、OnLoad ...
来源: http: //www.wictorwilen.se/Post/SharePoint-Web-Part-Event-Flow-in-detail.aspx