Most voted "unobtrusive" questions
6 questions
Sort by count of
-
3
votes2
answers500
viewsExtend a specific jQuery method in ASP.NET MVC jquery.unobtrusive-ajax.js
I’m using the Extensions methods @Ajax.BeginForm() to save the data via AJAX. To avoid running more than one click on the Submit button, which could cause a double Insert in my database, I decided…
-
2
votes2
answers265
viewsConditional Client-Side (Jquery) validation
Late! I am performing a complex validation on a specific class with the following code (reduced to simplify): public class Classe1 : IValidatableObject { [Key] public int Id_Classe1 { get; set; }…
-
2
votes1
answer481
viewsAjax.Beginform returning Partialview as View
Goodnight! I’m working on a Bed Management project. In a particular View, I am displaying the registered Wards, and for filtering purposes, a field where one can research by the name of the…
-
2
votes1
answer659
viewsCause form validation on an Asp.net link mvc 5
Good afternoon, everyone! I have a form, I created the rules using Datanotations and it works great when I use a button or input type Submit within my form. Validates very well! I want to exchange…
asp.net asp.net-mvc-5 jquery-validate model-validation unobtrusiveasked 9 years, 5 months ago Fabio Luis Rodrigues 31 -
1
votes0
answers46
viewsWhen closing a bootstrap modal, the unobtrusive Jquery validation triggers unnecessarily
By clicking the Close button of the Modal window, the validation is firing and it does not close. Then, if I give another click, then yes, the modal window is closed. I confess that I am bothered by…
-
0
votes1
answer252
viewsValidate Datepicker containing date only
I use Asp.Net Core MVC (Razor + Jquery Validate + Unobtrusive). I display in a Datepicker only the date part of a Datetime field through the following code in my Viewmodel: [Required(ErrorMessage =…
asp.net-mvc asp.net-mvc-5 validation jquery.validate unobtrusiveasked 6 years, 1 month ago Braytiner 176