Flexible Conditional Validation with ASP.NET MVC 3

What? UPDATE: I’ve now blogged the follow-up post on adding client-side support Part 1 – Introducing RequiredIf (this post) Part 2 – Adding client-side support   My colleague Simon and I have each written conditional validators with a number of customers, and Simon has blogged about it a number of times. I’ve had another idea…

8

Pluggable Model Conventions

One of the things that I really like about ASP.NET MVC is its extensibility story. In the recent deliveries of the ASP.NET MVC Ramp Up I’ve shown a sample project with a few extension applied. Some of these have already been published on the blog: Html.EnumDropDownFor and integrating the jQuery UI datepicker. A lot of…

2

ASP.NET MVC resources

One of the fairly common questions I get asked is “what good resources are there for ASP.NET MVC?” The one that people are generally familiar with is www.asp.net/mvc – I think the memorable URL helps 😉 Another one (that’s a bit less discoverable) is the ASP.NET MVC Content Map  Between them they should have enough links…

1

Get the Most out of WebGrid in ASP.NET MVC

My first MSDN Magazine article is up: Get the Most out of WebGrid in ASP.NET MVC. So, if you want to find out how to make the WebGrid component from WebMatrix fit in with ASP.NET MVC then take a peek…. http://msdn.microsoft.com/en-us/magazine/hh288075.aspx. Thanks to Carl Nolan and Simon Ince for reviewing the article 🙂 **UPDATE – the…

15

ASP.NET MVC: Partial rendering and AjaxAttribute

On a number of occasions I’ve been working with a customer on a scenario where we were adding some Ajax partial rendering support.. All too often demos for this scenario are over-simplified and only render a minimal amount of data. I’m guilty of this too, so I thought I’d try to make amends by showing…

5

Debugging ASP.NET MVC

One of the handy things about ASP.NET MVC is that the source code is available. I’ve found this pretty useful over time when wanting to understand how things work. And occasionally it has been pretty helpful when trying to find out why my code isn’t working as it opens up the possibility of pulling in…

1