Huge respect to you, sir! Your explanations are excellent, way more better than anyone that I've heard. After your tutorials I'd really understood what it was all about. You've made a great job. Thanks a lot for that!
@pp-zc4to4 жыл бұрын
very good sir. waiting for next one.
@anuragmohanty13012 жыл бұрын
Kindly make a video how to make model validation in partial view in asp.net core, It's my humble request.
@SaurabhKumar-om2gz2 жыл бұрын
I could not able to understand how nullable field resolve the int and string compatibility. Can someone please clear this ?Thanks
@bhagwatshahi72443 жыл бұрын
Thanks sir for the tutorial..i have a doubt when you post the data without filling all the required fields, error message is getting displayed that is fine but how does others fields remember their value since you are not passing the model back to the view...
@maximilianponiatowski47452 жыл бұрын
How to override te default validation for types ? When i use double and that I try to write letters in the input i get the default "the value "hdhsk" is not valid", but how can I override this one ? I finded a way with using ModelState.Clear() before using ModelState.AddErrorMessage(...) with simple one field forms but with bigger one it's not so easy...
@maximilianponiatowski47452 жыл бұрын
With int type I can specify type="number" in view input to block the possibility of using letters but this dosn't allow decimals or doubles...
@funwithvanshika44054 жыл бұрын
Hi Nitesh One thing strange i noticed that total page error not showing "Total Page" text and even same thing for me
@wahyumaulanaakbar79204 жыл бұрын
i have one question sir, do we need validation attributes on the data (not the model) as well? and can we create database-level validation as well? Thank you so much been following this tutorial
@saikrishnak68724 жыл бұрын
If I want apply the data annotation validations to be fired on the view load for the first time, how can it be achieved?
@WebGentle4 жыл бұрын
What do you mean by "view load for the first time"? . Give some more details.
@vangpallysrinivas69823 жыл бұрын
hi sir modelState.Isvalid is allways false how to resolve it
@amannayyar5124 Жыл бұрын
Make sure there are no null entries in the model for non null properties. Make Category and Language as Nullable then issue will be resolved. public string? Category { get; set; } public string? Language { get; set; }
@aayushpatel31522 жыл бұрын
Jquery-validate and Jquery-validation-unobtrusive client-side libraries should be installed as well otherwise it won't work