What data type does the RangeValidator control support ?

 Posted by Bharathi Cherukuri on 5/11/2012 | Category: ASP.NET Interview questions | Views: 4124 | Points: 40
Answer:

The RangeValidator control supports Integer,String and Date.

Example:

<asp:RangeValidator 

id="ProgrammaticID"
ControlToValidate="ProgrammaticID of control to validate"
MinimumValue="value"
MaximumValue="value"
Type="DataType"
ErrorMessage="Message to display in ValidationSummary control"
Text="Message to display in control"
ForeColor="value"
BackColor="value"
runat="server" >
</asp:RangeValidator>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Easwaran on: 9/7/2012 | Points: 10
Currency
Date
Double
Integer
String


These are the datatypes are supported.

Login to post response