Tag Archives: jQuery

MVC3, Entity Framework, jQuery… Everything example

How would you like to have a project that has these features? Dependency Injection Entity Framework 4.0 with POCO Inversion of Control with Castle The IResult jQuery jQuery Ajax Posts jQuery Custom Css jQuery Validation Mocking with Rhino Mocks MVC 3/Razor MVC Annotation Based Validation What I call the Repository Pattern Unit Tests – Integration [...]

Leave a comment Continue Reading →

jQuery Validation with Multiple Checkboxes

So this one is done on request and because I am a kind of merciful god I will grant this request. For those bullet point programmers: The working demo can be found here The code can be easily downloaded Now when I say validation, I mean the validation plugin. and this example is built using [...]

Leave a comment Continue Reading →

jQuery Validator: Adding a Custom Method

File this one under “Posted to take less time to find the answer”: If you’re using jQuery Validator and the built in validation methods just aren’t cutting, there’s a way you can add your own method to the validator itself. For this example let’s start some pretend time. Uhg I said pretend time not f–ked [...]

Leave a comment Continue Reading →

ASP.Net MVC2, Dynamic Models, Json, and Javascript

Ok so one thing I fell into while using the dynamic keyword as a model, was an issue with the dynamic model being parsed into json and then back again into javasript using jQuery. Silly me, I thought that the dynamic model would represent itself like any other object, but it turns out the dynamic [...]

Leave a comment Continue Reading →

jQuery Validate Date/Check If Is Date

Far as I can tell, and that’s pretty far even though I do wonder if you can actually measure telling in distance, there isn’t a method directly used for validating a date in jquery. I find this rather odd. Not odd like how people keep watching Uwe Bol movies, more like odd that no one [...]

Leave a comment Continue Reading →