Author Archive for Erik Burger Archive Page 3
TS: Microsoft .NET Framework – Application Development Foundation
0 Comments Published by Erik Burger December 15th, 2008 in ProgrammingToday I passed the 70-536 TS: Microsoft .NET Framework – Application Development Foundation exam. I’m happier about this one than I was about the Web-Based Client exam since I barely had time to study due to illness. So, this completes my MCTS: .NET Framework 2.0 Web Applications and gets me yet another step closer to my MCPD: [...]
Starting a Virtual PC Image without starting the Console
0 Comments Published by Erik Burger December 2nd, 2008 in ProgrammingI use Virtual PC for my desktop virtualisation needs. I love how virtualisation works. I have a set of base images I use to quickly set up any development environment, anywhere (provided the host pc has enough memory, which is pretty much a non-requirement these days). Today I was getting settled down to do some SharePoint [...]
Adding the Visual Studio 2008 Command Prompt to your Explorer Context Menu
16 Comments Published by Erik Burger November 26th, 2008 in ProgrammingRecently I’ve been exploring the possibilities of MSBuild in my projects. MSBuild is a command-line tool so this involved spending a lot of time at the Visual Studio 2008 Command Prompt. And having to change directories every time I started a new instance really started getting on my nerves. So, Google to the rescue! I [...]
PDC 2008 Sessions Available
2 Comments Published by Erik Burger November 3rd, 2008 in Conferences, PDCI’ve just found out that all the sessions of the Professional Developers Conference (PDC) 2008 that took place end of Oktober are available on Channel9. Sadly, I wasn’t able to attend but this makes up for a lot! The videos can be found here: http://channel9.msdn.com/pdc2008/. Also, keep an eye on the official PDC website here: [...]
Don’t be like Everyone Else – Check your Code
0 Comments Published by Erik Burger October 24th, 2008 in ProgrammingThere is an -imho- disturbing tendency amongst developers when it comes to applying coding and style standards, unit testing, duplication analysis and the like. The typical mindset seems to be “if my colleagues don’t do it, I won’t, either”. I know, I’ve been there as well. In fact, I am still there. But if you [...]
Fields not Showing in Custom List Definition
2 Comments Published by Erik Burger October 8th, 2008 in SharePointFor an internal project we were creating a number of custom List Definitions by editing the schema.xml files. When we opened an instance of the List Definition in SharePoint, the fields we had added did not show up in the View, New and Edit forms. Only the Title field was visible. As it turned out, [...]
Converting an Object to/from Anything – Implicit Type Conversion
0 Comments Published by Erik Burger October 7th, 2008 in ProgrammingSometimes you discover a little gem that you just know you will be using over and over again. My latest discovery is implicit type conversion. Implicit type conversion basically allows you to convert any object to any other type. Note that not all conversions make sense. As an example, let’s assume the following Field and [...]
TS: Microsoft .NET Framework 2.0 – Web-Based Client Development
1 Comment Published by Erik Burger October 3rd, 2008 in ProgrammingToday I passed the 70-528 TS: Microsoft .NET Framework 2.0 – Web-Based Client Development exam. One more step towards my MCPD: Enterprise Application Developer certification
SharePoint Custom Templates and Language Packs
0 Comments Published by Erik Burger September 10th, 2008 in Programming, SharePointRecently I’ve been working a lot with the SharePoint standard templates. A client wanted us to build a Web Part that had the look and feel of a standard SharePoint Web Part and the easiest way to achieve that was using templates. Using these, we didn’t have to worry about custom fields, save buttons, validation [...]
Loading SharePoint templates from a different location
1 Comment Published by Erik Burger September 1st, 2008 in Programming, SharePointIn his excellent post on How SharePoint 2007 Renders Its Content Geoff McElhanon shows how to programmatically load SharePoint-based templates. The code he shows us is as follows: 1 2 3 4 5 6 7 // Initialize template container with our custom template templateContainer = new TemplateContainer(); templateContainer.Template = SPControlTemplateManager.GetTemplateByName(RenderingTemplateId); // Add the container [...]

