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 the function used for removing an event listener?
What is viewstate parameter?
How to you can limit Access to Web API to Specific HTTP Verb?
What is the difference between “Web.config” and “Machine.Config”?
What are the disadvantages of view state / what are the benefits?
I have one .Net application and i have two databases which is in SQL server2000 and one more database in ORACLE? how can i access the database from different Databases?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?
Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version
What are the advantages of using Master Pages?
What is http response header?
Difference between connected architecture and Dissconnected architecture?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
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)