Home / ASP.NET Weblogs

Browse by Tags

Related Posts

  • Using jQuery Ajax methods in ASP.NET MVC: $.get() and $.getJSON() vs. $.post()

    I’m currently working on a project that uses ASP.NET MVC and jQuery to do some Ajax magic, and I ran into a minor (but maybe not obvious) issue when using $.post() against an MVC action that returns a JsonResult. The core issue is that calling $.get or $.post does not by default treat the returned data...
    Posted to Scott's Blog (Weblog) by srkirkland on 09-08-2009, 12:00 AM
    Filed under: AJAX, ASP.NET, ASP.NET MVC, Code, jQuery, MVC
  • An xVal Provider For NHibernate Validator

    I wrote a post about a month ago about using xVal with NHibernate Validator 1.2 which solved a problem I was having upgrading the xVal ‘in-the-box’ provider to work with a newer version of NHibernate Validator . There was a caveat that my solution only worked for ValidatorMode.UseAttribute and I wouldn...
    Posted to Scott's Blog (Weblog) by srkirkland on 11-02-2009, 12:00 AM
    Filed under: Code, ASP.NET, Validation, NHibernate, ASP.NET MVC, MVC, jQuery
  • jQuery Overview Presentation

    Last week I gave a presentation to the UC.NET User Group which provided an overview/introduction to jQuery.  Instead of using PowerPoint I created an ASP.NET MVC website and used a jQuery presentation plugin ( http://www.viget.com/inspire/jquery-presentation-plugin/ ) to provide slide navigation...
    Posted to Scott's Blog (Weblog) by srkirkland on 09-27-2010, 12:00 AM
    Filed under: Code, ASP.NET, AJAX, ASP.NET MVC, MVC, jQuery
  • Adding Client Validation To DataAnnotations DataType Attribute

    The System.ComponentModel.DataAnnotations namespace contains a validation attribute called DataTypeAttribute, which takes an enum specifying what data type the given property conforms to.  Here are a few quick examples: public class DataTypeEntity { [DataType(DataType.Date)] public DateTime DateTime...
    Posted to Scott's Blog (Weblog) by srkirkland on 02-15-2011, 12:00 AM
    Filed under: Code, ASP.NET, Visual Studio, Validation, ASP.NET MVC, MVC, jQuery
  • Introducing Data Annotations Extensions

    Validation of user input is integral to building a modern web application, and ASP.NET MVC offers us a way to enforce business rules on both the client and server using Model Validation.  The recent release of ASP.NET MVC 3 has improved these offerings on the client side by introducing an unobtrusive...
    Posted to Scott's Blog (Weblog) by srkirkland on 02-23-2011, 12:00 AM
    Filed under: ASP.NET, ASP.NET MVC, Code, Data Annotations, jQuery, MVC, Tips, Validation, Visual Studio
  • Adding Unobtrusive Validation To MVCContrib Fluent Html

    ASP.NET MVC 3 includes a new unobtrusive validation strategy that utilizes HTML5 data-* attributes to decorate form elements.  Using a combination of jQuery validation and an unobtrusive validation adapter script that comes with MVC 3, those attributes are then turned into client side validation...
    Posted to Scott's Blog (Weblog) by srkirkland on 03-08-2011, 12:00 AM
    Filed under: Code, ASP.NET, Validation, ASP.NET MVC, MVC, jQuery, Data Annotations, MvcContrib
Page 1 of 1 (6 items)