Posted by :
Anwar Hossain
Category :
How to use different types of validation control using asp.net c#
How to use RequiredFieldValidator for RadioButtonList
in ASP.NET C#
Dear Viewers I will show how to use how to use RequiredFieldValidator for RadioButtonList in ASP.NET C#. Sometimes we want to chose at least one selection from RadioButtonList such situation RequiredFieldValidator can be easily used for validation. A submit button has been taken at the time of clicking on the submit button then a message will be displayed for warning. I have taken another reset button to clear RadioButtonList using RadioButtonList ClearSelection(); Method.
RequiredFieldValidator for RadioButtonList
|
Posted by :
Anwar Hossain
Category :
How to use different types of validation control using asp.net c#
How to use RequiredFieldValidator for DropDownList
in ASP.NET C#
Dear Viewers I will show how to use how to use RequiredFieldValidator for DropDownList in ASP.NET C#. Sometimes we want to select at least one selection from DropDownList such situation RequiredFieldValidator can be easily used for validation. A submit button has been taken at the time of clicking on the submit button then an message will be displayed for warning.
RequiredFieldValidator for DropDownList
|
Posted by :
Anwar Hossain
Category :
How to use different types of validation control using asp.net c#
How to use RangeValidator in ASP.NET C#
Dear Viewers I will show how to use how to use RangeValidator control in ASP.NET C#. Sometimes we need to define what range of data will be input by the users that means minimum and maximum value. In this case RangeValidator is best for an ASP.NET developer. It has different type data type to check such as currency, date, double, integer, and string. So I have used various type data type to validate ASP.Net textbox control using RangeValidator Control.
RangeValidator in ASP.NET C#
|
Posted by :
Anwar Hossain
Category :
How to use different types of validation control using asp.net c#
how to use RequiredFieldValidator in ASP.NET C#
Dear viewers hear I will show how to use RequiredFieldValidator control . sometimes we need to create must field to input data to database .Such situation JQUERY validations can be used for validation but ASP.NET has given opportunity to its required field validator which is very easy to use and understand and great client site validation control. After taking necessary textboxs we can take required field validator control beside particular textbox then ControlToValidate property need s to be used for assigning target textbox control. ErrorMessage property of RequiredFieldValidator needs to be used which message will be displayed for warning.
RequiredFieldValidator ASP.NET C#
|
Posted by :
Anwar Hossain
Category :
How to use different types of validation control using asp.net c#
How to use RegularExpressionValidator Control in ASP.NET using C#
Dear viewers hear I will show how to use RegularExpressionValidator control . Sometimes we need to take to prevent user to input invalid data in textbox for data restriction purpose in this case we can easily use RegularExpressionValidator control. Client side validation can be implemented by using this control. RegularExpressionValidator can be used for Email Validation, Minimum characters, Maximum characters, Lowercase, Uppercase and Combination of Uppercase Lowercase number.
RegularExpressionValidator ASP.NET C#
|
Posted by :
Anwar Hossain
Category :
How to use different types of validation control using asp.net c#
How to use Custom Validator control using asp.net c#
Dear viewers I will show how to use asp.net client side custom Validator Control. First example an error Message will display when the length of text input in the text box exceeds more than 25. Second example two drop down list are used to check start date and end date.
Custom Validors Example ASP.NET C#
|
Posted by :
Anwar Hossain
Category :
How to use different types of validation control using asp.net c#
How to use compare validation control using asp.net c#
Dear viewers I will show how to useasp.net client side validation control .Here compare validation control using has been implemented for comparison two values. We can say all modern browser sis capable to perform client side validation of a webpage. The common properties are:
ControlToValidate : it’s id can be specified for the target control to validate.
ControlToCompare : it’s id can be specified for the target control to compare.
Type : it’s id can be specified for data type verification.
Operator: It defines the type of comparison.
Compare Validators Example ASP.NET C#
|