ntombela
ntombela

Reputation: 1388

Using ASP.NET default Model Binders with DateTime

I've been trying to use the default ASP.NET MVC model binders but I'm having issues with binding DateTime. I've looked at Scott's post here but it seems to be too sophisticated. Is there a simpler solution to binding DateTime?

Upvotes: 1

Views: 318

Answers (1)

Mauricio Scheffer
Mauricio Scheffer

Reputation: 99720

If you don't like Hanselman's solution you could try Castle's binders. They work like this and they can be used through MvcContrib.

Upvotes: 2

Related Questions