trying to sort out a regular expression for the following string: 51.4920302, -0.0850667 So far I have:@\"^[0-9]*,{-}[0-9]*$\" but it doesn\'t seem to be working.
I am trying to do some basic Jquery Validation in my MVC2 project and I keep getting this error... Microsoft JScript runtime error: Object doesn\'t support property or method \'validate\'
In my web application I am validatingthe url from glabal.asax . I want to validate the url and need to redirect to an action if needed. I am using Application_BeginRequest to catch the reques开发者_如
I\'m changing an existing ASP.NET MVC2 application which uses the MicrosoftMvcValidation.js etc. for client side validation.
[Required(ErrorMessage = \"Please Enter AccountZip Code!\")] [RegularExpression(@\"/(^\\d{5}(-\\d{4})?$/\", ErrorMessage = \" Zip code must be 5 characters length\")]
I am trying to implement custom attribute validation, similar to one demonstrated here in ScottGu\'s blog:
I have an existing ASP.NET MVC 2 application that I\'ve been asked to extend. I am adding a new feature to the site where I generate an employee assessment form based on a dynamic list of questions re
i am trying to validate a form in a JQuery model dialog that is dynamically loading a view generated from a jquery ajax call
I am checking my database in Create(FooViewModel fvm){...} to see if the fvm.prop1 and fvm.prop2 already exist in that combination; if so, I want to add an error to the modelstate, then return the who
Hi I have a custom Attribute public class NameAttribute : RegularExpressionAttribute { public NameAttribute() : base(\"abc*\") { }