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 are the Difference between asp.net and asp ?
What is an asp.net web form?
Difference between ByVal and ByRef?
What are custom controls?
What are all the various Estimation Techniques available ?
Explain the difference between globalization and localization techniques
What are Http handler ?
Explain the difference between authentication and authorization.
What are web beacons used for?
what is the exact purpose of http handlers and interfaces?
What is difference between ASP and ASP.NET ?
What’s the difference between Response.Write() andResponse.Output.Write()?
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)