unobtrusive-validation Questions

2

Solved

I have the following view in ASP.net MVC 3: @model Models.CreateProjectViewModel <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script> <sc...

3

I'm creating a jQuery Mobile (Alpha 3) based ASP.NET MVC 3 application utilizing the unobtrusive validation that comes with MVC3. When a page is accessed directly (no hash in the Url), validation w...

1

Solved

Maybe it's just the way my mind works, but I have a very hard time understanding how you're supposed to do custom unobtrusive validators. The C# part is easy enough, but the jqueryui adapters are w...

1

Solved

I have having a lot of trouble getting validation to work on MVC3. It works fine when I just load the page directly, but it does not validate when I use jquery AJAX POST: This form is loaded using...
Kenwrick asked 10/8, 2011 at 1:49

1

Solved

I am using ASP.NET MVC 3 with unobtrusive validate JavaScript. I am also using jQuery UI tabs, and I would like to select a tab who contains an element with an invalid message. So, to do that I nee...
Croquette asked 30/7, 2011 at 2:27

1

Solved

I've been search for quite a while and haven't been able to find an answer to this. I am using asp.net MVC 3 with unobtrusive validation. My model is bound with data annotations for simple validat...
Ringtailed asked 18/5, 2011 at 17:32

1

Solved

sorry for my language - in English i can only read :) i want to do in asp.net mvc something like this: 1. show user a page 2. open modal dialog (jquery-ui) and show partial view 3. validate user in...
Juniejunieta asked 12/6, 2011 at 21:16

1

Solved

I've added an ASP.net MVC validation summary and even when the page is first loaded and when ModelState is valid it renders this out... <div class="validation-summary-valid" data-valmsg-summary...

1

Solved

I'm using asp.net mvc 3 with jquery unobtrusive validation. I recently changed from standard DataAnnotations to FluentValidation and it works great. My primary reason for picking up FluentValidati...
Barrage asked 1/4, 2011 at 9:16

1

Solved

It's a classic login flow. The user can choose between 'new user' or 'existing user'. If the user is new, the name in the login box should validate against the server to see if the username is uniq...
Dyedinthewool asked 11/4, 2011 at 7:41

2

Solved

I am new to ASP.Net MVC 3, facing some issues while trying to implementing client side unobtrusive validation for a editor template I have created for showing date in a custom way. UI I need to sh...

2

I have implemented remote validation using MVC 3 unobtrusive validation as follows The model public class MyViewModel { [Remote("ValidateAction", "Validation")] public string Text { get; ...
Shannonshanny asked 25/1, 2011 at 21:10

2

Solved

I have a jQuery function tied to my submit button like this: $(function () { $('#signupform').submit(function () { alert('test'); }); }); However, it fires whether or not the form is valid. M...
Impress asked 19/2, 2011 at 17:24

1

Solved

I have a Remote attribute on the email property of my User model. When I create a new user, it works create and tells the users that an e-mail is already in use. Now I'm having a problem in my edit...
Kaspar asked 24/1, 2011 at 2:48

1

Solved

Given a ViewModel that looks like this: public class Login { [Required] public string Username { get; set; } [Required, CustomValidator] public string Password { get; set; } } And a View li...
Stromberg asked 8/11, 2010 at 2:1

© 2022 - 2024 — McMap. All rights reserved.