Part 82 Creating custom validation attribute in asp net mvc

  Рет қаралды 102,273

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 27
@davi94
@davi94 4 жыл бұрын
Man you saved me with this tutorial!!! Congratulations for your work!! If i had 2 ass holes i would give one to you!! Greetings from Brasil!!
@aaronmarks9595
@aaronmarks9595 10 жыл бұрын
Just wanted to stop by and say "thank you" yet again. Your clear explanation of custom validation attributes was extremely helpful and allowed me to move on to other things in my project today. Well done, sir!
@urielbraylen7535
@urielbraylen7535 3 жыл бұрын
i guess Im kinda off topic but does anyone know of a good website to stream newly released tv shows online?
@terrancehugo6258
@terrancehugo6258 3 жыл бұрын
@Uriel Braylen lately I have been using flixzone. Just google for it :)
@zaidkorbyn4756
@zaidkorbyn4756 3 жыл бұрын
@Uriel Braylen try Flixzone. You can find it by googling =)
@spidersilk06
@spidersilk06 11 жыл бұрын
Sir I appreciate your work .... 1000 salutes to you... Sir It ll be great thanks if you post videos on Windows Application programming. Thanks in advance
@safeerkhan8706
@safeerkhan8706 4 жыл бұрын
thank you sooo much!!
@saagarsoni3
@saagarsoni3 11 жыл бұрын
i really like this..thanx sir
@bobbyrichmond5944
@bobbyrichmond5944 8 жыл бұрын
Got a thumbs up for a very clear explanation and demo, this has helped me learn alot, but is there a way to validate a group of attributes at the same time? I.E. Build a search where you can search by memberID, firstname, lastname, hiredate. It should allow you to search any combination of these 4 EXCEPT if you enter nothing in all four. Basically a [required] but for a group of model attributes instead of individual(s) Thanks for the video and I will definitely be watching more.
@bobbyrichmond5944
@bobbyrichmond5944 8 жыл бұрын
I actually finished this, surprisingly easy with the new mvc. Only issue I ran into was with modelstate
@skolker
@skolker 10 жыл бұрын
awesome tutorials! why you use Common folder? I know you can name it how ever you want, just want to learn the right design name/structure... does common mean custom code? if you know a good link where I can check names/structures developer use, pls share , hope to hear from you.. thanks!
@krekkon2
@krekkon2 11 жыл бұрын
I do everything as you say, but the client side validation is not working with the costum attributes. I referenced the three nececcery .js file, In the web.config the two option is true. The other buildt in validation messages(required) are appeared, but my custum message is'nt. On the server side the ModelState is false, and in my costum attribute i sent back false value. But nothing appeared and the post has sent. :( Can you give me some help?
@RonanClancy
@RonanClancy 11 жыл бұрын
I have the same problem...have you found the solution???
@krekkon2
@krekkon2 11 жыл бұрын
Ronan Clancy I think this is just a magic. I cannot solved too :) I ask it on Stackoverflow, and they say that too, but maybe can help [rate the question, please :) ] : stackoverflow.com/questions/20374306/the-custom-client-side-validationattribute-doesnt-trigger-in-mvc-4
@woodadmin-9067
@woodadmin-9067 9 жыл бұрын
great , with this video -- skip the range line with last video part 81 both way to enter date it works i.e. enter as 2015/04/21 or 04/03/2011
@ciscoinch1230
@ciscoinch1230 9 жыл бұрын
TO start , always go back to DB table creation pay attention in first 2 min -- back to part 80 so as to create VS solution (begin here -- kzbin.info/www/bejne/qoTdc4GIdsujfbs )
@akhilbajjuri
@akhilbajjuri 5 жыл бұрын
can we add instance of interface to attribute as parameter in .net core?
@10goodday
@10goodday 4 жыл бұрын
Great tutorial as always. Can you please create a custom multi regex data validation please? (Server and client validation with jQuery obtrusive). Thanks alot!
@hendesebilisim
@hendesebilisim 7 жыл бұрын
Thank you Sir
@kaizartariq9531
@kaizartariq9531 8 жыл бұрын
thank you for this tutorial... can u please tell me, how to create a Unique attribute for entity framework .? thank you...
@syedmohdnaqizaidi5924
@syedmohdnaqizaidi5924 5 жыл бұрын
Required fields insert and not required field will be inserted MVC how?
@syedmohdnaqizaidi5924
@syedmohdnaqizaidi5924 5 жыл бұрын
Model fields
@desireseri8916
@desireseri8916 10 жыл бұрын
great
@jagratichoudhary2907
@jagratichoudhary2907 3 жыл бұрын
Can anybody help in how to get a particular word with different colours in a sentence using asp. Net
@thaeerthaeer77
@thaeerthaeer77 7 жыл бұрын
can i get the code pls,
@Squackles14
@Squackles14 11 жыл бұрын
very strange u cant put datetime.now in the constructor.
@bobrbudside7547
@bobrbudside7547 7 жыл бұрын
How do you do that validation is fired on the client-side ?? I'm using jquery.validate.js and jquery.unobtrusive-ajax.js but still method isValid is fired after posting form. Reqired attr is fine, it works.
Part 83   RegularExpression attribute in asp net mvc
8:14
kudvenkat
Рет қаралды 70 М.
Custom validation attribute in asp net core
9:28
kudvenkat
Рет қаралды 67 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Model Validation | Validation Attributes vs. FluentValidation | .NET 6
27:11
Part 81   Range attribute in asp net mvc
10:15
kudvenkat
Рет қаралды 57 М.
Part 74   CacheProfiles in mvc
14:45
kudvenkat
Рет қаралды 75 М.
Part 12- Server Side and Client Side Validation in ASP.NET MVC
17:30
Technotips Ashish
Рет қаралды 63 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 263 М.
Custom Validation Attribute in .NET core
9:07
DotNetMastery
Рет қаралды 13 М.
CREATE and CONNECT DATABASES in ASP.NET
18:11
tutorialsEU - C#
Рет қаралды 78 М.