sharepoint 2013 event receiver

Hello everyone,

I have a solution and it contains many web parts inside of it.

I want to add a new event receiver with item added event for a sharepoint list. on this itemadded event, I want to add a new member to my sharepoint group.

so, when I add my event receiver, these web parts doesnt work. How should i add this event receiver to my project that should work regardless of other webparts?

should I create a new feature and add this event receiver inside of it?  

can we apply the event receivers with web parts in same feature?
July 24th, 2013 4:32am

There should be no interference between item event receivers and custom web parts.

What do your web parts do? and how they stop working?

Free Windows Admin Tool Kit Click here and download it now
July 24th, 2013 4:37am

I have 5 web parts and all of them are doing different things. I mean that if I put the event receiver and web parts in the same feature, these are waiting for the item added event. and even they are working for different lists. 
July 24th, 2013 4:41am

Try to package your web parts into a site collection feature different from your event receivers feature.

Free Windows Admin Tool Kit Click here and download it now
July 24th, 2013 4:44am

ok thanks I ll try. 
July 24th, 2013 4:47am

yes it works well thank you 
Free Windows Admin Tool Kit Click here and download it now
July 24th, 2013 5:15pm

Glad it helped :)
July 28th, 2013 3:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics