Archive For January 2011
Why You Can't Use Extension Methods With A WebGrid
calendar_today 27 January 2011 12:58
An interesting question came up recently on the ASP.NET forums. In it, the questioner was attempting to use my Chop() extension method to limit the number of characters in a WebGrid column but it wouldn't work. At first, I was a little stumped, so I tried it myself and got an error message:
I'm Writing A Book On WebMatrix
calendar_today 18 January 2011 19:27
Yes - it's official! I'm writing a book for Wiley all about Microsoft's new stack for beginner web developers - WebMatrix.
Creating A Custom Template For WebMatrix
calendar_today 14 January 2011 23:57
WebMatrix includes a number of pre-built templates that you can use as a basis for developing your site, but wouldn't it be great if you could add new ones? Well, there is a way to do so, and this article looks at the steps required.
The WebGrid Helper - Making Selections
calendar_today 13 January 2011 14:08
The WebGrid helper, introduced via ASP.NET Web Pages, provides a means for displaying tabular data easily. This article examines how to enable selection within the WebGrid at row level.
Razor, Cascading Select Lists and jQuery Templates - A New Twist
calendar_today 04 January 2011 22:20
jQuery Templates enable easy client-side generation of html. When combined with JSON data or other JavaScript objects, jQuery Templates provide a way to create a dynamic data-driven site without any server-side code whatsoever. However, in this article I will look at how they can be used to produce cascading select lists in a Razor Web Pages site.