What are two ways that you can set the minimum and maximum
values for a rangevalidator? When would you use each technique?
Answer Posted / 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 |
Post New Answer View All Answers
What is asp net application object?
How can we create a website?
How many types of sessions are there in asp net?
What is diff. Between abstract class and an interface?
Using code explain Configuration Management
Where can I get information on cookies in asp.net?
Why will you usually create an aspnet user account in the database for an asp.net web application?
What is meant by asp.net?
What is user control in asp.net?
Are there resources online with tips on asp to asp.net conversions?
What is AutoPostback?
What are the advantages and disadvantages of Using Cookies?
What is the difference between stored procedure vs function?
Explain how do you validate the controls in an asp .net page?
How do u deploy ur project?