event handler for page modification

236 views Asked by At

i want to handle events 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!!

2

There are 2 answers

0
Wictor Wilen MCA MCM MVP On

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

0
Sylvain Reverdy On

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 ...

enter image description here

source : http://www.wictorwilen.se/Post/SharePoint-Web-Part-Event-Flow-in-detail.aspx