Simon Ince's Blog

Ramblings of a gadget freak

February, 2011

Posts
  • Simon Ince's Blog

    JavaScript Architecture

    • 10 Comments
    No, that isn’t meant to be an oxymoron. But something I’ve noticed recently is that people’s approach to JavaScript seems to be diverging down two common paths. This blog post is designed to encourage you to adopt the one you probably aren���t planning...
  • Simon Ince's Blog

    What’s My Day Job?

    • 2 Comments
    If you’re wondering what it is I do all day, the UK TechNet Blog have just published an interview with me as part of their “day in the life” series, which looks at the various technical roles within Microsoft UK. Be sure to check the others out too! On...
  • Simon Ince's Blog

    Detecting which button was clicked in MVC

    • 8 Comments
    I’ve seen a few hacks in the past to try and work out which button caused a form POST in ASP.NET MVC, but the truth is it is pretty easy. Step 1 : Inside your form, add two Submit buttons. Add a name attribute to both (note it isn’t added by MVC by default...
  • Simon Ince's Blog

    Conditional Validation in ASP.NET MVC 3

    • 27 Comments
    Update: If you like this, you'll like Mvc.ValidationTookit even more - check out this post ! Some time ago I blogged on Conditional Validation in MVC , and Adding Client-Side Script to an MVC Conditional Validator . A number of people have asked me...
  • Simon Ince's Blog

    ASP.NET MVC 3 Optional Parameter Routing Issue

    • 4 Comments
    Update : Phil Haack has now blogged on this under Routing Regression With Two Consecutive Optional Parameters . When upgrading the Labs and Demo code for a course I run from MVC 2 to MVC 3 I discovered some odd behaviour with one of the routes. We...
Page 1 of 1 (5 items)