What are two ways that you can set the minimum and maximum
values for a rangevalidator? When would you use each technique?
Answer / answerme
One of the ways to set Minimum Value and maximum value can
be set by usin =g the propery MinimumValue and MaximumValue.
<asp:RangeValidator
ControlToValidate="tbox1"
MinimumValue="2005-01-01"
MaximumValue="2005-12-31"
Type="Date"
EnableClientScript="false"
Text="The date must be between 2005-01-01 and 2005-12-31!"
runat="server" />
Will check if the date falls between the range.
This can be used when the specific range is known
Is This Answer Correct ? | 4 Yes | 0 No |
about view state and how validation controls will be executed on client and server
How many no of classes in .net
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
Explain how inline and code behind is used differently ?
What are the security types in ASP/ASP.NET? Different Authentication modes?
How to check the end of the record in Datareader?
What are the features that make asp.net more used framework? : asp.net mvc
When web.config is called ?
What are the security types in asp.net?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
What is difference Between Authentication and authorization?
Difference between ASP & ASP.NET Session State