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
To bind columns manually which tags do you need to add within the asp:datagrid ?
What is a postback ispostback and autopostback in asp net?
What is the difference between union and structure?
How to create discussion forum in asp.net mvc? : Asp.Net MVC
Explain page output caching?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
Can I stream live content/events?
What is asp according to you?
What is difference between singleton and single call?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
Where is asp.net session stored?
How will you maintain versioning in asp.net 2.0?
What is the use of session state and application state and difference between them?
i want the asp.net technical questions and answeres
What is distributed system in asp.net?