Sign In
Stuart Leeks
Stuart Leeks - Application Development Consultant
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
ADO.Net Data Services
ASP.NET MVC
Batch file
CSharp
Debugging
Entity Framework
Extension methods
Javascript
jQuery
LINQ
Outlook
Pages
PowerShell
Testing
Unity
Utilities
Visual Studio
Browse by Tags
MSDN Blogs
>
Stuart Leeks
>
All Tags
>
asp.net mvc
Tagged Content List
Blog Post:
ASP.NET MVC: Supplying HTML attributes with EditorFor
stuartle
My colleague Simon Ince and I recently discovered that we had been working on the same problem independently so we combined our efforts and have written a joint blog post on our team blog . The problem was something that I’d encountered in a number of blog posts that used modified editor templates...
on
24 May 2012
Blog Post:
ASP.NET MVC & jQuery UI autocomplete Part 2 (EditorFor)
stuartle
UPDATE: I've blogged about an more flexible way to wire up the editor template here . I recently blogged about how to enable autocompletion of a text field using jQuery UI , and how to easily hook this behaviour up in ASP.NET MVC . In this post I’ll go a step further and show how to hook this...
on
2 May 2012
Blog Post:
ASP.NET MVC: Adding aria-required attribute for required fields
stuartle
UPDATE: I've blogged about an more flexible way to wire up the editor template here . There are a lot of things that you can do to make your site more usable and accessible. The Web Content Accessibility Guidelines (WCAG) includes techniques for Accessible Rich Internet Applications (ARIA). In this...
on
1 May 2012
Blog Post:
ASP.NET MVC & jQuery UI autocomplete
stuartle
UPDATE: I've written a follow-up post that shows how to achieve this using Html.EditorFor here . 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...
on
23 Apr 2012
Blog Post:
WebGrid extensions on NuGet
stuartle
If you’ve not read my MSDN magazine article on using WebGrid to render tabular data then go read it now: http://blogs.msdn.com/b/stuartleeks/archive/2011/07/03/get-the-most-out-of-webgrid-in-asp-net-mvc.aspx ! This post announces the NuGet package WebGridMvc that wraps up the custom WebGrid helpers....
on
24 Jan 2012
Blog Post:
Flexible Conditional Validation with ASP.NET MVC 3
stuartle
What? My colleague Simon and I have each written conditional validators with a number of customers, and Simon has blogged about it a number of times . I’ve had another idea in this space that I’ve been meaning to post for a while. Simon’s most recent post gave me the nudge I needed...
on
6 Oct 2011
Blog Post:
Pluggable Model Conventions
stuartle
One of the things that I really like about ASP.NET MVC is its extensibility story. In the recent deliveries of the ASP.NET MVC Ramp Up I’ve shown a sample project with a few extension applied. Some of these have already been published on the blog: Html.EnumDropDownFor and integrating the jQuery...
on
23 Sep 2011
Blog Post:
ASP.NET MVC resources
stuartle
One of the fairly common questions I get asked is "what good resources are there for ASP.NET MVC?" The one that people are generally familiar with is www.asp.net/mvc - I think the memorable URL helps ;-) Another one (that's a bit less discoverable) is the ASP.NET MVC Content Map Between them...
on
13 Jul 2011
Blog Post:
Get the Most out of WebGrid in ASP.NET MVC
stuartle
My first MSDN Magazine article is up: Get the Most out of WebGrid in ASP.NET MVC . So, if you want to find out how to make the WebGrid component from WebMatrix fit in with ASP.NET MVC then take a peek…. http://msdn.microsoft.com/en-us/magazine/hh288075.aspx . Thanks to Carl Nolan and Simon...
on
3 Jul 2011
Blog Post:
ASP.NET MVC: Partial rendering and AjaxAttribute
stuartle
On a number of occasions I’ve been working with a customer on a scenario where we were adding some Ajax partial rendering support.. All too often demos for this scenario are over-simplified and only render a minimal amount of data. I’m guilty of this too, so I thought I’d try to make...
on
13 Apr 2011
Blog Post:
Debugging ASP.NET MVC
stuartle
One of the handy things about ASP.NET MVC is that the source code is available. I’ve found this pretty useful over time when wanting to understand how things work. And occasionally it has been pretty helpful when trying to find out why my code isn’t working as it opens up the possibility of pulling in...
on
7 Mar 2011
Blog Post:
ASP.NET MVC 3: Integrating with the jQuery UI date picker and adding a jQuery validate date range validator
stuartle
UPDATE: I've blogged about an more flexible way to wire up the editor template here . This is post looks at working with dates in ASP.NET MVC 3. We will see how to integrate the jQuery UI date picker control automatically for model properties that are dates and then see an example of a custom validator...
on
25 Jan 2011
Blog Post:
ASP.NET MVC: ValidatePasswordLength and PropertiesMustMatch in ASP.NET MVC 3 RC2
stuartle
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...
on
17 Dec 2010
Blog Post:
Using ASP.NET MVC and jQuery to create confirmation prompts
stuartle
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 module we cover Unobtrusive...
on
16 Dec 2010
Blog Post:
Backwards compatibility and and preserving search engine ranking
stuartle
Phew – that was a long title! This is a follow-up to a post that my colleague Josh wrote recently. I started typing a comment in response to one of the comments and it got a little bit cramped in the text box so I decided to post it here instead. To summarise, Josh is looking into migrating the blog...
on
3 Sep 2010
Blog Post:
Extensionless URLs not working with ASP.NET MVC 2 on IIS 7/7
stuartle
This post is mostly a self-serving bookmark, but if you somehow landed here and are having issues with ASP.NET MVC 2 URL Routing (or routing in web forms if you’re using it there!) and are running on IIS 7 or 7.5 then have a read through the KB article below. I found it after much head scratching and...
on
24 Aug 2010
Blog Post:
ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute in ASP.NET MVC 3 Preview 1
stuartle
This is the fourth 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...
on
11 Aug 2010
Blog Post:
ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute
stuartle
This is the third 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...
on
6 Aug 2010
Blog Post:
ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1
stuartle
This is the second post in what has become 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 (this post!) ASP.NET MVC: Adding client-side validation...
on
28 Jul 2010
Blog Post:
ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute
stuartle
This is the first post in what has become a mini-series: ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute (this post!) ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1 ASP.NET MVC: Adding client-side validation...
on
27 Jul 2010
Blog Post:
ASP.NET MVC - Creating a DropDownList helper for enums
stuartle
Do the types you work with in your ASP.NET MVC models ever have enums? Mine do from time to time and I’ve found myself needing to render a dropdown list to allow the user to select the enum value. For the purposes of this post, I will be working with a Person class and a Color enum (I’ll direct you to...
on
21 May 2010
Blog Post:
Collections and ASP.NET MVC Templated Helpers – Part 4
stuartle
This is part of a mini-series: Part 1 – Define the problem & give a workaround Part 2 – Show an alternative workaround Part 3 – Show a reusable, simple solution Part 4 – Replacing Object.ascx My last post showed how to implement a custom model metadata provider that fibs to ASP.NET MVC that a complex...
on
18 May 2010
Blog Post:
Collections and ASP.NET MVC Templated Helpers – Part 3
stuartle
This is part of a mini-series: Part 1 – Define the problem & give a workaround Part 2 – Show an alternative workaround Part 3 – Show a reusable, simple solution Part 4 - Replacing Object.ascx This is the third part in a mini-series and so far I’ve presented the problem and two potential workarounds...
on
1 Apr 2010
Blog Post:
Collections and ASP.NET MVC Templated Helpers – Part 2
stuartle
This is part of a mini-series: Part 1 – Define the problem & give a workaround Part 2 – Show an alternative workaround Part 3 – Show a reusable, simple solution Part 4 - Replacing Object.ascx Last time I outlined a problem that I was having with rendering a collection via the templated helpers. The...
on
30 Mar 2010
Blog Post:
Collections and ASP.NET MVC Templated Helpers (DisplayFor/EditorFor)
stuartle
This is part of a mini-series: Part 1 – Define the problem & give a workaround Part 2 – Show an alternative workaround Part 3 – Show a reusable, simple solution Part 4 - Replacing Object.ascx I’ve been spending quite a lot of time with ASP.NET MVC 2 recently, talking to customers about it and working...
on
30 Mar 2010
Page 1 of 2 (26 items)
1
2