i want to handle ev开发者_运维问答ents that are occuring on a aspx Page specifically sharepoint webpart page .
i ddnt find anything in visual studio event receivers .
is there any way to achieve this ?
thanks in advance!!
Is it SharePoint 2007 or 2010. If you're on 2010 then it's very easy to do using Visual Studio 2010: http://msdn.microsoft.com/en-us/library/ms453149.aspx
What types of events ? If you want to use the methods in the page life cycle , you can create a WebPart and override the methods : OnInit, OnLoad ...
source : http://www.wictorwilen.se/Post/SharePoint-Web-Part-Event-Flow-in-detail.aspx
精彩评论