ASP.NET MVC: Client Validation for Custom Attributes

In this post I´ll explain how to validate your custom attributes in the client side. There are two ways to do it, one is when your attribute is inheriting from RequiredAttribute, RegularExpressionAttribute, etc, and the other is when your custom attribute is completely new.

Continuar lendo “ASP.NET MVC: Client Validation for Custom Attributes”

ASP.NET MVC: Client Validation for Custom Attributes

Glogalizing jQuery Validation for Number and Date

The jQuery validation and the jQuery unobtrusive validation are frameworks for client validation. The default implementation uses the en-US culture, that is, number in the format of dot deparating the decimal places and date in the format MM/dd/yyyy. In this post we will customize that according with the culture chosen by the user.

Continuar lendo “Glogalizing jQuery Validation for Number and Date”

Glogalizing jQuery Validation for Number and Date

Creating Javascript Proxy to Call ASP.NET MVC Controller Action

One of the most used routine when developing a WEB application is calling an action using jQuery AJAX. This post will show you how to make this task easier and more natural in the format SomeController.SomeAction(parameters).

Continuar lendo “Creating Javascript Proxy to Call ASP.NET MVC Controller Action”

Creating Javascript Proxy to Call ASP.NET MVC Controller Action