Contents tagged with jQuery
-
Creating a simple Live Cricket Score using ASP.NET SignalR
Introduction:
-
A Simple jQuery HttpClient
Introduction:
-
A jQuery Plugin for Google Map Thumb(Magnifier)
Introduction:
-
A Client Validation Issue in MVC 3 and MVC 4(Beta)
-
WebGrid Helper with Check All Checkboxes
Introduction:
-
Overriding Unobtrusive Client Side Validation Settings in ASP.NET MVC 3
Introduction:
By default, client side validation in ASP.NET MVC 3 leverages unobtrusive javascript and famous jQuery validation plugin. The jQuery validation plugin makes client side validation very straightforward. With this plugin, you have a lot of options to customize the client side validation. But unfortunately, ASP.NET MVC 3 internally initialize the jQuery validation plugin and does not provide you an option to customize the validation settings(options). In this article, I will show you how to customize(override) the jQuery validation settings(options). -
Eagerly Performing ASP.NET MVC 3 Unobtrusive Client Side Validation
Introduction:
Unobtrusive client side validation is one of the great feature that I like in ASP.NET MVC 3. Unobtrusive client side validation feature uses the famous jQuery validation plug-in internally. Jquery validation plug-in perform client side validation lazily. What does this means? This simply means that before submitting the form for the first time, the user can tab through fields without getting any error message. This makes sense and lot of developers and designers like this behavior. But guys coming from places where validation is performed when fields focus out, may not like this behavior. In this article, I will show you how to perform validation on fields when fields focus out. -
Context Issue in ASP.NET MVC 3 Unobtrusive Ajax
Introduction:
One of the coolest feature you can find in ASP.NET MVC 3 is Unobtrusive Ajax and Unobtrusive Client Validation which separates the javaScript behavior and functionality from the contents of a web page. If you are migrating your ASP.NET MVC 2 (or 1) application to ASP.NET MVC 3 and leveraging the Unobtrusive Ajax feature then you will find that the this context in the callback function is not the same as in ASP.NET MVC 2(or 1). In this article, I will show you the issue and a simple solution. -
Unobtrusive Client Side Validation with Dynamic Contents in ASP.NET MVC 3
Introduction:
A while ago, I blogged about how to perform client side validation for dynamic contents in ASP.NET MVC 2 at here. Using the approach given in that blog, you can easily validate your dynamic ajax contents at client side. ASP.NET MVC 3 also supports unobtrusive client side validation in addition to ASP.NET MVC 2 client side validation for backward compatibility. I feel it is worth to rewrite that blog post for ASP.NET MVC 3 unobtrusive client side validation. In this article I will show you how to do this. -
ASP.NET MVC with JQuery Validation and ValidationSummary
Introduction: