Category - Validation
Results 6 - 10 of 27
21 Aug 2020 21 Aug 2020 0 Comments  602 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Client Side TextBox validations without using Model in ASP.Net MVC Razor.
The Client Side validations will be performed using jQuery obtrusive validation library in ASP.Net MVC Razor.
17 Aug 2020 17 Aug 2020 0 Comments  610 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Validations in ASP.Net MVC Razor.

The Client Side validations will be performed using Model class and Data Annotation attributes in ASP.Net MVC Razor.
17 Aug 2020 17 Aug 2020 0 Comments  630 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Required Field Validator (Validation) in ASP.Net MVC Razor.

The Client Side Required Field Validator (Validation) will be implemented using Model class and Data Annotation attributes in ASP.Net MVC Razor.
12 Aug 2020 12 Aug 2020 0 Comments  589 Views
Here Mudassar Ahmed Khan has explained with an example, how to use RequiredFieldValidator for DropDownList in ASP.Net.
RequiredFieldValidator is used to validate required inputs, for TextBoxes it is plug and play but for DropDownList an additional property InitialValue needs to be set in ASP.Net.
In the InitialValue property, the value of the Default DropDownList Item needs to be set.
19 Apr 2020 19 Apr 2020 0 Comments  2864 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Date of Birth (Age) validation with jQuery DatePicker (Calendar) plugin.

When a Date is selected in jQuery DatePicker (Calendar), the onSelect event is raised and inside the onSelect event handler the validation for Date of Birth (Age) is performed.

This article will perform minimum 18 years of Age validation and the Age will be calculated using the Date selected in the jQuery DatePicker (Calendar).
Results 6 - 10 of 27