Category - ASP.Net Validators
Results 1 - 5 of 32
Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression (Regex) to accept/allow Alphanumeric characters i.e. Alphabets (Upper and Lower case) and Numbers (Digits) and Space in TextBox in ASP.Net using:-

1. RegularExpression Validator.
2. JavaScript.
3. jQuery.
Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression validator for Alphanumeric validation i.e. Alphabets (Upper and Lower case) and Numbers (Digits) in TextBox in ASP.Net.
Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression (Regex) to accept/allow only Alphanumeric characters i.e. Alphabets (Upper and Lower case) and Numbers (Digits) in TextBox in ASP.Net using:-

1. RegularExpression Validator.
2. JavaScript.
3. jQuery.
Here Mudassar Ahmed Khan has explained with an example, how to scroll to the first error or to the first Validator that has raised the error when validation fails in ASP.Net using JavaScript.
In a long form it becomes difficult for users to find out which validation has failed and hence this feature enhances the user experience by scrolling the page and setting focus to the control where the validation is failed.
Here Mudassar Ahmed Khan has explained how to make a TextBox required if a CheckBox is checked by enabling the RequiredFieldValidator in ASP.Net using JavaScript and jQuery.
In order to enable ASP.Net RequiredFieldValidator for the TextBox when the CheckBox is checked, the ASP.Net ValidatorEnable client side JavaScript function is used.
Results 1 - 5 of 32