Geeks With Blogs
Soe Tun my attempt to solve common tech problems jQuery jQuery
Web Control Extension Methods like jQuery CSS Utility Methods
I like these jQuery methods a lot: addClass, removeClass, toggleClass.I wish ASP.NET Web Controls have similar functionality out of the box like jQuery for manipulating CSS class like below. // You MUST include your own namespace here // in order for the Extension Methods to be visible in your code. using YourProjectNamespace.Extens... textBoxControl.AddCssClass(... textBoxControl.ToggleCssCla... disable"); So I created extension methods for the WebControl ......

Posted On Monday, April 8, 2013 8:27 PM

ASP.NET MVC 3 Client-Side Validation Summary with jQuery Validation (Unobtrusive JavaScript)
When we were working with ASP.NET MVC 2, we needed to write our own JavaScript to get Client-Side Validation Summary with jQuery Validation plugin. I am one of those unfortunate people still stuck with .NET Framework Runtime 2.0 and .NET Framework 3.5; meaning I am still on ASP.NET MVC 2. So I will still keep on supporting by answering any question you may have with my original code. Long awaited ASP.NET MVC 3 has been released, and it supports Client Side Validation Summary with jQuery out-of-the-box ......

Posted On Friday, January 28, 2011 2:31 PM

ASP.NET MVC Client-Side Validation Summary with jQuery Validation Plugin

The ASP.NET MVC integration with the jQuery Validation Plugin does not work the way how I want it to with the Validation Summary Errors.

I want to display the actual errors messages in the Validation Summary "control" and asterisks next to the User Input Fields (textboxes and dropdowns). This is a blog post on how to tweak the MicrosoftMVCJQueryValidation.js file to achieve the desired behavior.

Posted On Saturday, February 27, 2010 1:33 PM

Copyright © Soe Tun | Powered by: