Itemupdating newvalues

30 Aug

An advantage of using Item Updating to set field values is that the values will be visible to the user after they submit their changes in a non-datasheet view.

Because Item Updated is asynchronous, the user may not see their new values when they see the list after submitting the edit.

I have loged the value before an after changing and can see the value change.

event is raised when an Update button within a Details View control is clicked, but before the update operation.

itemupdating newvalues-61itemupdating newvalues-23

I´m using a Details View but when updating, I cannot get the Old Values because the Details View Update Event Args.

I have a library that allows multiple folder content types. if you have changed the name of the column after creating the list, then try with the old name.

I am grouping the folders by content type but I don't want the group heading to say Content Type: whatever.

(no updates required since you are changing the value before it gets saved) I would verify that your Event Receiver is attached to the list.

Are you able to debug your Event Receiver when you modify an item in the list? It appears no matter what you do to the after properties it doesn't change anything It is nice to update Title in Item Adding and Item Updating events since extra Updates are avoided (without Disable Event Firing), and the "Edit Properties view" will already have the Title filled in Some code example to update title based on filename. For working with Title in Lists, ["Title"] needs to be used.