Category - ASP.Net Validators
Results 1 - 20 of 52
22 Dec 2022 22 Dec 2022 0 Comments  977 Views
Here Mudassar Khan has explained with an example, how to use RegularExpressionValidator in ASP.Net.
07 Nov 2022 07 Nov 2022 0 Comments  829 Views
Here Mudassar Khan has explained with an example, how to implement US Mobile Number validation using RegularExpressionValidator in ASP.Net.

The Mobile Number entered in the TextBox will be validated using Regular Expression (Regex) and ASP.Net RegularExpressionValidator.
14 Oct 2022 14 Oct 2022 0 Comments  935 Views
Here Mudassar Khan has explained with an example, how to implement Indian Mobile Number validation using RegularExpressionValidator in ASP.Net.

The Indian Mobile Number entered in the TextBox will be validated using Regular Expression (Regex) and ASP.Net RegularExpressionValidator.
10 Oct 2022 10 Oct 2022 0 Comments  1460 Views
Here Mudassar Khan has explained with an example, how to implement GST Number validation using RegularExpressionValidator in ASP.Net.

The GST Number entered in the TextBox will be validated using Regular Expression (Regex) and ASP.Net RegularExpressionValidator.
03 Oct 2022 03 Oct 2022 0 Comments  1506 Views
Here Mudassar Khan has explained with an example, how to implement Indian Passport Number validation using RegularExpressionValidator in ASP.Net.

The Passport Number entered in the TextBox will be validated using Regular Expression (Regex) and ASP.Net RegularExpressionValidator.
22 Sep 2022 22 Sep 2022 0 Comments  1605 Views
Here Mudassar Khan has explained with an example, how to implement Aadhaar Number validation using RegularExpressionValidator in ASP.Net.

The Aadhaar Number entered in the TextBox will be validated using Regular Expression (Regex) and ASP.Net RegularExpressionValidator.
29 Aug 2022 29 Aug 2022 0 Comments  2507 Views
Here Mudassar Khan has explained with an example, how to use CompareValidator in ASP.Net.
27 Aug 2022 27 Aug 2022 0 Comments  5127 Views
Here Mudassar Khan has explained with an example, how to perform Password and Confirm Password validation for Password TextBox in ASP.Net.

The values of the Password and Confirm Password TextBoxes are compared using ASP.Net CompareValidator and if the values do not match error message is displayed.
12 Aug 2020 12 Aug 2020 0 Comments  29051 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 Dec 2019 19 Dec 2019 0 Comments  22596 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Page_ClientValidate function with JavaScript in ASP.Net.

Page_ClientValidate is an ASP.Net JavaScript function in-built which is used to perform ASP.Net validation explicitly i.e. invoking the ASP.Net Validators using JavaScript.

For example, in order to make the RequiredFieldValidator work with OnClientClick we need to make use of Page_ClientValidate JavaScript function in ASP.Net.
14 Nov 2019 14 Nov 2019 0 Comments  8304 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Indian PAN Card Number validation using RegularExpressionValidator in ASP.Net.

The PAN Card Number entered in the TextBox will be validated on Button click using Regular Expression (Regex) and RegularExpressionValidator in ASP.Net.
04 Oct 2019 04 Oct 2019 0 Comments  26076 Views
Here Mudassar Ahmed Khan has explained with an example, how to check for duplicate values while inserting in GridView without SQL in ASP.Net using C# and VB.Net.

When the Add Button is clicked, the values of TextBoxes will be compared with the Row values of the GridView using ASP.Net CustomValidator and JavaScript and if the values are duplicate, error messages will be displayed.
01 Aug 2018 01 Aug 2018 0 Comments  78403 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Email Address using Regular Expression Validator in ASP.Net.
14 Jun 2018 14 Jun 2018 1 Comments  51465 Views
Here Mudassar Ahmed Khan has explained with an example, how to insert Date in dd/MM/yyyy format in SQL Server Database Table using ASP.Net with C# and VB.Net.

This article will illustrate how to insert Date in dd/MM/yyyy format in Database Table using Stored Procedures and the SQL Server DATEFORMAT command in ASP.Net.
11 Jun 2018 11 Jun 2018 0 Comments  33070 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Date of Birth (DOB) i.e. the Age entered in TextBox is minimum 18 years in ASP.Net using Regular Expression and Custom Validator.
23 Mar 2018 23 Mar 2018 1 Comments  35741 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Required validation for RadioButtonList control using RequiredFieldValidator in ASP.Net.
09 Jan 2018 09 Jan 2018 0 Comments  20175 Views
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.
03 Jan 2018 03 Jan 2018 0 Comments  29792 Views
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.
03 Jan 2018 03 Jan 2018 1 Comments  38679 Views
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.
22 Nov 2016 20 Jul 2020 6 Comments  92463 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Google RECaptcha version 2.0 on Client Side using JavaScript and jQuery in ASP.Net.

The Google RECaptcha version 2.0 allows to validate the Captcha response on client side using its Callback functions.

The Google RECaptcha 2.0 will be validated using ASP.Net RequiredFieldValidator.
Results 1 - 20 of 52