Select list validation in asp net core

preview_player
Показать описание
In this video we will discuss implementing required validation on a select list in ASP.NET Core. Let's understand this with an example.

Text version of the video

Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.

Slides

ASP.NET Core Text Articles & Slides

ASP.NET Core Tutorial

Angular, JavaScript, jQuery, Dot Net & SQL Playlists
Рекомендации по теме
Комментарии
Автор

How do you make the select options to come from another model, for example how do we get departments from a list of departments that we get from department table in db? Cause this view is already bound to employee model, how do we pass departments to it too?

AlongOurLife
Автор

Write a code to count how many times Venkat says Notice :)

TheChatGPTEngineer
Автор

sir, can you please make video on drop-down using another model and data fetch from database without using enum in with validation (asp.net core mvc)?

utkarshpatil
Автор

what if we use like this:-
<select asp-for="Department" class="custom-select mr-sm-2"
<option class="disabled" disabled selected>Please Select</option>
</select>

instead of making dept nullable, Is something wrong in this?
I am a beginner, Please help anyone.

Abhimanyukumar-vbbz
Автор

Keep it coming sir ! We are waiting ! Thanks ! Following you for last 4 years!

mgtowindia
Автор

Thank you the Best Sir amongst all on Youtube.

alihameed
Автор

How is Venkat able to just update code and refresh the browser page to see the updated results? I always had to stop/start the process, be it In Process or Out Of Process.

conaxlearn
Автор

How can we get the full of code from ?
Can u please set it in the githiub ?
Thank You ,

jessicasinanian
Автор

Hi thank you for the nice Tutorial, do you also have advance concepts tutorials like how to shift business logic in a separate class (i.e. BAL)?

tallyhelp
Автор

hi, custom/inbuilt validation message we can view in UI, if in case the web API for individual field validation message to be return as response . how can i do that, as whole model state can be validated.

bhagyapatil
Автор

Excellent one. Can you guide how we can use enum for the select list in case of multilingual application?
I have added additional attribute to the enum to update description that will take from resx based on current ui culture.. is there any nice/efficient way?

wassimnd
Автор

Sir plz make a video for multiselect dropdown

joyahmed_
Автор

how can i get rquest Form in StartUp class configur methon ????

shofiullahbabor
Автор

sir please add identity framework tutorial first

souravsingha
visit shbcf.ru