-
ASP.NET MVC 3: Support multiple submit buttons in one form with HTML Helper MultiSubmitButton
Out of the box ASP.NET MVC 3 only supports one submit button for each form. To be more precise: The MVC 3 framework only supports one submit action for each form, i.e. all submit buttons in the form post the data to the same URL (the URL that is defined in the action attribute of […]
-
ASP.NET MVC 3: Async jQuery progress indicator for long running tasks
If you have long running (server side) tasks in your ASP.NET MVC 3 web application it could be reasonable to provide the user with information about the current progress of this task. In this blog post I will show how such a progress indicator could be implemented using jQuery and AJAX. The basic idea is […]
-
ASP.NET MVC 3: Set up custom error pages to handle errors in “non-AJAX” requests and jQuery AJAX requests
In this blog post I will show how to set up custom error pages in ASP.NET MVC 3 applications to create user-friendly error messages instead of the (yellow) IIS default error pages for both “normal” (non-AJAX) requests and jQuery AJAX requests. In this showcase we will implement custom error pages to handle the HTTP error […]
-
ASP.NET MVC 3: Use re-mix library to add controller actions with mixins
Update 2012-01-15 I’ve written a follow-up post “ASP.NET MVC 3: Use re-mix library to add controller actions with mixins – Part 2” that shows how to integrate Fabian’s suggestions into the approach described in this post. Update 2012-01-10 Fabian Schmied (re-mix developer) published a blog post “re-mix: Encapsulate and share ASP.NET MVC controller actions” which […]
-
ASP.NET MVC 3: Strongly typed Authorize Attribute with multiple users and roles
The ASP.NET MVC 3 framework provides an Authorize attribute that enables you to easily restrict the access to specific controllers and/or actions to predefined roles or users. In detail, the controller or the action is marked with the Authorize attribute that defines which roles or users are granted access to the content which looks as […]
-
ASP.NET MVC 3: Using JSON result for jQuery Ajax Forms validation
This blog post is my third blog post about jQuery Ajax forms with ASP.NET MVC 3. The first post “ASP.NET MVC 3: Ajax Form with jQuery validate supporting (unobtrusive) Client Side Validation and Server Side Validation” is about creating Ajax forms with jQuery validate to support client side validation and partial page updates. The second […]