0
votes
0answers
19 views

Stop NewDocSet.aspx from redirecting on cancelwitherror

Is there a feature/flag/something that can cause newdocset.aspx for a document set to force redirect on itemadding/itemupdating over to an error page with my custom error messages? I'm not trying to ...
0
votes
3answers
100 views

Getting file name being upoloaded in ItemAdding

How to get the name of the file being uploaded if the listitem is not created yet? public override void ItemAdding(SPItemEventProperties properties) { SPWeb TargetWeb = properties.OpenWeb(); ...
2
votes
2answers
2k views

Preventing users from deleting an item from a task list

I am using the ItemDeleting event receiver to prevent users from deleting items in a Task List. Currently, my code looks like: if (properties.ListTitle == "Project Intake Tasks") { ...
0
votes
1answer
4k views

properties.ListItem is NULL on item added Event Receiver?

The following articles... http://moonistahir.wordpress.com/2008/05/05/properties-listitem-in-itemadded-is-null-workaround-to-get-listitem/ ...
0
votes
2answers
261 views

Event reciever (itemadded) sharepoint 2010

is there a way where we can get the link(editform.aspx) of item just added to the list-- in the itemadded method of the event receiver (Share Point object model)