Category Archives: .NET Development

Yes, we do do development other than SharePoint!

Content type added to a list does not appear on the New Menu

I’m not sure if others have encountered this behaviour when progammatically adding a content type to a list. In the following code I am adding a content type to a list and ensuring that it appears on the new menu, … Continue reading

Posted in .NET Development, SharePoint, SharePoint 2007, SharePoint 2010 | Tagged , , , , , | Leave a comment

When using the ItemUpdated and ItemAdded events is the only choice you have.

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

Posted in .NET Development, SharePoint, SharePoint 2007, SharePoint 2010, Tips and Tricks | Tagged , , , , | Leave a comment

CustomAction corrupts the {ItemUrl}

I hit a problem with my Copy/Move application.  You can pick up the thread to the application here. The {ItemUrl} that I was using in the CustomAction was being corrupted for documents that contain a ‘+’ plus in their url. … Continue reading

Posted in .NET Development, SharePoint, SharePoint 2007, SharePoint 2010, Tips and Tricks | Tagged , | 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 , , , , | 3 Comments

Adding a progress indicator for long running Ajax calls

This must be one of the most undocumented useful features that can be used during an Ajax call.  In this example the SharePoint progress gear will be displayed during the call back.  Just add the UpdateProgress control to an asp:content … Continue reading

Posted in .NET Development, SharePoint, SharePoint 2007, Tips and Tricks | Tagged , | 1 Comment