Item Added event reciever in sharepoint 2007
I am editing a list item's Title field inside the Item Added Event Receiver.The value is correctly getting updated to the list.But the problem is the user have to refresh manualy to view the changed in the page.how can i solve this.Please help mesujithsb
September 16th, 2011 1:58am

Hi, Item Added event handler is always called asynchronously. That is why you have to wait to see your new values. In order to see your updated values without refreshing the page use ItemAdding event which is synchronous.Thanks & Regards, Neerubee
Free Windows Admin Tool Kit Click here and download it now
September 16th, 2011 5:29am

Sujith, The way to get it to refresh on the fly is to use the ItemAdding event receiver method. When the ItemAdding method is executed, the item is not created yet, so you won't have access to the propertie. ListItem yet as it is going to be null. You will have access to the properties.AfterProperties and it should have all the fields that were entered into the new form.Leonid Lyublinski Wizard of MOSS
September 16th, 2011 12:18pm

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

Other recent topics Other recent topics