27 Aug
2010

File uploads and MVC Controllers

Last week I had to implement some functionality to support uploading images to an MVC 2 application and then subsequently display them. Naturally there are a mountain of blog posts on this topic but I was unable to find anything comprehensive that covered everything that I needed on both the client and server side. What […]

Read More
2 Mar
2010

JQuery Validator Cheat Sheet

Category:UncategorizedTag: :

I?m getting a session ready for Boise Code Camp 2010 on JQuery Validator. I thought it would be cool to hand out a cheat sheet ? but I couldn?t find one. So here is rev. 1 of my?Jquery Validator Cheat sheet.

Read More
6 Dec
2009

Authenticated web services calls with Asp.Net MVC

I?ve been encountering a problem as of late.  I?m creating a lot of ?Single Page Pattern? web applications.  This means you load the page once, then handle everything else via web service calls. And if you have ever worked on web applications you should be familiar with the ?user went to lunch? issue (session timeout).  […]

Read More
23 Nov
2009

JQuery Validator plus Element IDs, and Names

OK, just discovered an interesting implementation detail of JQuery Validator (one that I should have known about already as well). OK, if you have a form where the inputs of the for have both id and name  attributes, the name attributes trump id. So if you have this: 1: <input type=’type’ id=’RegisterUserName’ name=’userName’ /> Then […]

Read More
13 Nov
2009

Using the jQuery UI Datepicker with ASP.NET MVC 2 Templates

Brad Wilson has recently completed a blog series about Templates in MVC 2. I really like this feature as it provides me with the ability to quickly generate screens, even if eventually I might have to go back and rework them. Basically I want to have my cake and eat it – I want the […]

Read More
27 Sep
2009

Playing with JQuery Validation library

New job (2 weeks in), new responsibilities, new tools to play with.  Amazingly (for me), one of the new tools is the JQuery Validation Library.  My diving into this also coincides with ScottGu’s announcement that Microsoft is creating their own CDN for JQuery and JQuery Validation.  Bad news is that this means I’m behind.  That […]

Read More