Quantcast
Channel: ASPSnippets RSS Feed
Viewing all articles
Browse latest Browse all 4731

Validate at-least one CheckBox checked (selected) in ASP.Net MVC Razor

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to validate at-least one CheckBox is checked (selected) from a group of multiple CheckBoxes in ASP.Net MVC Razor. There is no Data Annotation attribute to perform at-least one CheckBox checked (selected) validation in a group of multiple CheckBoxes, hence the validation will be performed using jQuery in ASP.Net MVC Razor. The list of CheckBoxes will be populated from database using Model in ASP.Net MVC Razor.

Viewing all articles
Browse latest Browse all 4731

Trending Articles