September 2009 Entries
Like most developers, I use VirtualPC for development using different images for each client/configuration. It’s a setup that works well. However, while typing away this morning in Visual Studio, lo-and-behold the Tab key stopped working! You might think that’s not the end of the world, surely a niggle rather than a full blown DEFCON 1 problem but I guarantee if you try to type more than 10 lines of code in Visual Studio without the services of the Tab key you’ll find out how irritating a problem it actually is! No tab = no keyboard control of Intellisense. ...
This is one of those things that I always forget about and end up having to debug. (Also for those planning to do MCTS, I guarantee that there will be a question about this one ;) ) While it is technically possible to databind to a SPListItemCollection, when you try to refer to any of the SPListItem fields by name you’ll end up with an error similar to this: [ArgumentException: Value does not fall within the expected range.] Microsoft.SharePoint.SPFieldMap.GetColumnNumber(String strFieldName) +161 Microsoft.SharePoint.SPListItemCollection.GetRawValue(String fieldname, Int32 iIndex) +56...
SharePoint Web Content Management is a pretty flexible beast, if you’re mad keen on writing code (and the ‘ole packaging and deployment curmudgeon), you can make it do pretty much anything. However, some times there are simple things that you’d like to do without having to crank up Visual Studio and start hammering out some angle brackets. One of these simple things is formatting values on a publishing page, particularly dates and Boolean values. If you’re reading this, you’ve probably made the same journey as me: Denial – There must be an easy way to do this, it’s so simple...