-
Search
-
Archive
June 2012 M T W T F S S « May 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
Tag Archives: Event
To call or not to call? SharePoint event receiver base methods.
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.
Posted in SharePoint, SharePoint 2007, SharePoint 2010 Tagged Event, SharePoint, SharePoint 2010 Leave a comment
Treeview using PopulateOnDemand and SelectedNodeChanged
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
Posted in .NET Development, SharePoint, SharePoint 2007, Tips and Tricks Tagged Ajax, Event, Performance, SharePoint, Web Part 2 Comments
Stop SharePoint events firing
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