October 2014 M T W T F S S « Sep 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Tag Archives: Event
When you create a new SPListItemEventReceiver using one of the templates available in Visual Studio 2010 you will find that the method stub that is generated contains a single line of code. Let’s use the ItemAdded event as an example.
Let me explain by way of an example. You have implemented a custom insitu EDRMS solution which will set the permissions on an item to ‘Readonly’ when the item’s Item Status column is set to a value of ‘RECORD’. In making the item … Continue reading
You might, like me have come across major issues using a treeview to support both the PopulateOnDemand and SelectedNodeChanged events. The problems are further compounded if you are using Ajax. I wanted to use a tree view to help users navigate around … Continue reading
To stop events firing in SharePoint 2007 we call a method to disable the event firing, perform our update and then call another method to enable it again. The code might look something like this. This has changed in SharePoint … Continue reading
I had implemented an ItemAdded event linked to a content type to force customisation of a list when an item is added for the first time. This follows from the article I posted here, which I no longer advocate. I … Continue reading