Validate strong passwords using RegularExpressionValidator in Asp .Net

 In this article we will see how to enforce users to create strong passwords. To validate for strong passwords we will use RegularExpressionValidator with REGEX. For this example we will take three different scenarios:  

  1. Validate strong password which must have 8-10 characters long with at least one numeric character.
  2. Validate strong password which must have 8-10 characters long with at least one numeric character, one alphabet character and one special character.
  3. Validate strong password which must have 8-10 characters long with at least one numeric character, one upper case character and one special character.

Remove blank space acquired by validation messages in Asp .Net

In this article we will see how to remove blank space acquired by validation messages in asp .net. This problems mostly occurs when we use multiple validators with single control. Whenever single validator passes validation and other one failed. Failed validator takes blank space in the page.

Show images in error messages using asp .net

In this article we will see how to show custom images in validation controls using asp .Net.

Step1: Copy image to website folder which you want to show in error messages. For more information you can visit my threadhttp://www.codingfusion.com/Post/Create-a-asp--net-webforms-website--Copy-image-to

Step2: Create three textboxes and apply necessary validations. 

Apply custom CSS to ValidationSummary Control to change its look and feel

In this article we will see how to apply custom CSS on ValidationSummary to make it looks better. You can also visit my other posts related to ValidationSummary Control  http://www.codinfusion.com/post/ValidationSummary-Example-in-asp-net and http://www.codinfusion.com/post/Show-ValidationSummary-in-Popup-using-Asp-Net

Show ValidationSummary in Popup using Asp .Net

In this article we will see how to show error messages generated by Asp .Net Validaion controls in poupup. For this we will use ValidationSummary control. To see ValidaitonSummary example you can visit my previous article http://codingfusion.com /post/ValidationSummary-Example-in-asp-net

CustomValidator Example in asp .net

   In this article we will see how to use CustomValidator(Server side and client side). In this example we will ensure that password entered by users cannot be less than 5 characters.

 
Previous article from the series:

ValidationSummary Example in asp .net

   In this article we will see how to use ValidationSummary in asp .net. We can use ValidationSummary to show consolidate validate messages of all validators used in the webpage.

    
    Validations are the most important part of websites and software. By using validations we can restrict users to enter any Invalid data into your database. There are many  validation techniques available to validate form data like JQUERY validations, server side validations. In Asp .Net microsoft has provided us great validation controls. In this series of articles we will explore validation controls provided by microsoft. 

RangeValidator Example in asp .net

  Validations are the most important part of websites and software. By using validations we can restrict users to enter any Invalid data into your database. There are many validation techniques available to validate form data like JQUERY validations, server side validations. In Asp .Net microsoft has provided us great validation controls.

In this series of articles we will explore validation controls provided by microsoft. 
    
In this article we will see how to use RangeValidator in asp .net. We can use RangeValidator to compare between range of data, we can also check data types like String, Integer, Double, Date, Currency.
    
Previous article from the series:

CompareValidator Example in asp .net

 Validations are the most important part of websites and software. By using validations we can restrict users to enter any Invalid data into your database. There are many validation techniques available do validate form data like JQUERY validations, server side validations. In Asp .Net microsoft has provided us great validation controls. In this series of articles we will explore validation controls provided by microsoft. 

    
In this article we will see how to use CompareValidator in asp .net. We can use CompareValidator field validator to compare data entered by user. Here we will match password and confirm password.
 
Previous article from the series:

RegularExpressionValidator Example in asp .net

  Validations are the most important part of websites and software. By using validations we can restrict users to enter any Invalid data into your database. There are many validation techniques available do validate form data like JQUERY validations, server side validations. In Asp .Net microsoft has provided us great validation controls. In this series of articles we will explore validation controls provided by microsoft. 

 
In this article we will see how to use RegularExpressionValidator in asp .net. We can use RegularExpressionValidator field validator to ensure that user has entered data in correct format. Here we will check that wether user is entering correct email address or not(We can only check email format).
 
Previous article from the series:

About Us | Terms of Use | Privacy Policy | Disclaimer | Contact Us Copyright © 2012-2024 CodingFusion
50+ C# Programs for beginners to practice