What are two ways that you can set the minimum and maximum
values for a rangevalidator? When would you use each technique?



What are two ways that you can set the minimum and maximum values for a rangevalidator? When would ..

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

Post New Answer

More ASP.NET Interview Questions

How do cookies work?

0 Answers  


Can asp.net work on an nt server?

0 Answers  


What are the features of asp.net mvc?

0 Answers  


What is the difference between web.config and machine.config in ASP.NET?

0 Answers   Amazon,


Describe the disadvantage of cookies.

0 Answers  






What is Cookies Less Session?

0 Answers  


What are the elements of a website?

0 Answers  


How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File.

3 Answers   Consagous, Phoenix Technologies,


Describe how ASP.NET maintains process isolation for each Web application?

0 Answers   B-Ways TecnoSoft,


What is web.config. How many web.config files can be allowed to use in an application ?

10 Answers   Accenture, BirlaSoft, Infosys, InterGraph, Satyam, Wipro,


How to disable SOAP1.2 in Web Services?

1 Answers  


I need to download file from web server, without using save as dialogue box. Can anyone help, thanks In advance.

1 Answers  


Categories