ASP.NET MVC & jQuery UI autocomplete

If you get me started talking about ASP.NET MVC then it is quite possible that I’ll end up talking about Progressive Enhancement or Unobtrusive JavaScript. Aside from the usability and performance benefits that these techniques can bring, I find that they also help me to write JavaScript in a more modular, more reusable way than…

0

Mvc.ValidationTookit Alpha Release: Conditional Validation with MVC 3

My blog posts on doing conditional validation in MVC have always been popular, and I’m frequently surprised by where I find that code – customers often say to me “we found some guys blog with some code to do the validation we needed” and sure enough it usually turns out to be mine! There are…

0

Immersive MVC and jQuery: Project Silk

Patterns and Practices have just released their latest round of guidance for developing web applications – “Project Silk”. I’ve been watching what they generate closely and I think you’ll be impressed. To quote the landing page; “Project Silk provides guidance for building maintainable cross-browser web applications that are characterized by an intentional design, rich interactivity,…

0

Project Silk: Patterns and Practices do Rich Web Apps

My blog has been quiet of late – because our team is busy I think. We’re recruiting by the way Something I’ve been wanting to blog about for a while now is “Project Silk”. This is Patterns & Practices latest round of web development guidance. Karl Shifflett is the man at the wheel, so be…

0

ASP.NET MVC: ValidatePasswordLength and PropertiesMustMatch in ASP.NET MVC 3 RC2

This is the fifth post in what is becoming a mini-series: ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1 ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute in ASP.NET MVC 3 Preview 1 ASP.NET MVC: ValidatePasswordLength and…

0

Using ASP.NET MVC and jQuery to create confirmation prompts

Having coded up samples several times showing how to add confirmation prompts to links on a web page I figured I’d post it here so that I can simply grab it next time round! My colleague Simon Ince & I put together a Ramp Up session for ASP.NET MVC 2. As part of the Ajax…

0

Adding Client-Side Script to an MVC Conditional Validator

In a previous post I covered how to write a conditional validator to work with ASP.NET MVC, and a little gotcha to avoid. However, I didn’t include any details on how to wire up this validator with some client side JavaScript. This post is tacks some script onto that approach! It wasn’t as simple as…

0

jQuery.validate and Html.ValidationSummary playing nice together

A customer recently asked me how to get MVC with the MVC Futures project’s MicrosoftMvcJQueryValidation.js adapter file to play nicely with the Validation Summary HTML helper. It turns out that this functionality isn’t built into the adapter script file. They also pointed me at this post by Soe Tun that gets things up and running….

0

Client Script Patterns: Predictive Fetch

Why do you write JavaScript? It’s probably for one of two major reasons – Responsiveness or Richness. Richness we know about – it’s the flying, sliding, flashing, and sometimes annoying UI features we see J But Responsiveness is much less tangible – it’s about how an application feels to use. Does it feel like it’s…

0

jQuery + MVC = Progressive Enhancement

If you write a lot of JavaScript, you really should consider adopting Progressive Enhancement as the standard way that you work. This is basically whereby you write a web site without script, and then enhance it with script. The result is a site that does not rely on JavaScript (and hence works with accessibility tooling…

0