remote-validation Questions
3
Solved
as per https://www.mikesdotnetting.com/article/343/improved-remote-validation-in-razor-pages
I followed the tutorial and implemented the PageRemote. However it does not work if applied to a propert...
Podgorica asked 14/12, 2019 at 13:48
2
Solved
I used the following tutorial:
http://msdn.microsoft.com/en-us/library/gg508808%28VS.98%29.aspx
And everything seemed fine, but in my case, string Username always comes back null. After tonnes of ...
Castillo asked 16/12, 2014 at 20:35
5
Solved
In an MVC3 app, using jquery unobtrusive validation, and a view/model with a [Remote] validator: I am trying to disable the submit button and display a wait icon during remote validation, and when ...
Rego asked 20/10, 2011 at 18:44
6
I need to validate an input field value from user before the form is submitted.
I have created an action in my custom controller and decorated the field with it:
action name: CheckValue
controll...
Freeze asked 21/7, 2014 at 11:8
4
I have the following model:
public class Customer
{
public string FirstName {get;set;}
public string LastName {get; set;}
[Remote("CardExisting", "Validation", AdditionalFields="FirstName,Las...
Heliometer asked 15/4, 2012 at 16:11
2
Solved
Is there a way to hook into MVC3 unobtrusive remote validation on the client, before data is submitted to the remote method, and after a result is returned from the remote method?
I am trying to t...
Georgetta asked 2/5, 2012 at 12:57
5
Solved
I've been pulling my hair out trying to figure out why ValidationController actions are not being triggered.
I have settings enabled in project-wide web.config:
<add key="ClientValidationEnabl...
Handal asked 26/12, 2012 at 19:18
4
Here is my model code
public class BlobAppModel
{
[Required(ErrorMessage="Please enter the name of the image")]
[Remote("IsNameAvailable","Home",ErrorMessage="Name Already Exists")]
public stri...
Cota asked 30/10, 2013 at 11:28
0
I am developing an MVC 5 app using EF 6 database first approach. I have a certain validation which is required for fields in many of my models. I am using remote validation for validating them. Sin...
Jungly asked 29/10, 2015 at 12:49
1
I have a view model with remote validation enabled. In my view I also disabled OnKeyUp
$(function() {
$.validator.setDefaults({ onkeyup: false });
})
But if I focus on the text box, and move ...
Labia asked 17/10, 2012 at 0:12
2
Solved
I am trying to check if Email exists at registration so that there are no duplicate emails in the database. I am doing this with the MVC4 default Internet Application but i have added an Email fiel...
Alveolate asked 17/1, 2013 at 3:16
4
public class UserModel
{
public LogOnModel LogOnModel { get; private set; }
public RegisterModel RegisterModel { get; private set; }
}
in my RegisterModel I have email address like this:
[Regu...
Indiscrimination asked 11/10, 2012 at 21:2
1
Solved
I need to validate the duplicate of FirstName, LastName and Email Address combination using remote validation in my ASP.NET MVC 4 (C#) application. The Remote Validation accepts only one Additional...
Workingman asked 8/11, 2011 at 6:47
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
1
© 2022 - 2024 — McMap. All rights reserved.