- Open Visual Studio 2010.
- On the File menu -> New and then click on Project.
- In project type, select Event Receiver.
- Enter Name of Event Receiver , click on Ok button.
- Now you get Sharepoint Customization Wizard, Choose Deploy as a Sandboxed solution, click on Next.
- In Choose Event Receiver Settings window, Select List Item Events from What type of event receiver do you want? dropdown.
- In What item should be the event source ? dropdown, choose type of List on which you want Event Receiver.
- Next Choose event on which you want to write code and click on finish
- Event Receiver file is created and method for selected event is appeared.
- Press F5 for deploy this solution.
Thursday, July 21, 2011
How to Create Event Handler In Sharepoint ?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment