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 |
What is interval time of GC in .net
what is wwf in asp.net?
What is Partial in ASP.NET 2.0?
Explain the difference between asp and asp.net?
What are the two Layouts supported by a Web form in ASP.NET?
What does the hotspot class in .net do?
How can we create custom controls in asp net?
Why cyclomatic complexity is important?
which directive is mandatory in page control
What are cookies in asp.net?
Explain the difference between asp & asp.net.
what is roles in asp.net
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)