The marvellous SPList.RenderAsHtml

One of these days a customer asked me if there was an easy way to build a Web Part that would be able to switch between the list views, and also wanted it to look and feel like a view of any list in Sharepoint. The first thing that crossed my mind was “huummm, that…

4

Object variable or With block variable not set: how to eradicate these tongue-twisters haunting from the past

  In a perfect world, computer applications would be syntactically and semantically correct and complete, thus exhibiting no errors nor flaws. Ours is not a perfect world, though, and even worse is that a significant part of those computer applications are still being coded in Visual Basic 6.0. Great!! This way, we are being given…

0

How to Enable IE 8 Compatibility View for your whole Web site or for specific Web site directories

  With the release of Internet Explorer 8, many customer sites suddenly had rendering errors and problems displaying the site correctly. http://www.microsoft.com/windows/Internet-explorer/default.aspx   In order to avoid expensive and time consuming corrections Internet Explorer 8 has a new functionality called Compatibility View which enables the browser to emulate Internet Explorer 7.   Internet Explorer 8…

3