Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

What are the different types of Caching techniques in ASP.NET?

0 Answers  


What is a viewbag?

0 Answers  


Why is asp.net so popular?

0 Answers  


What is custom attribute? How to create?

0 Answers  


main difference between asp.net2.0,asp.net1.1,asp.net1.0

15 Answers   Inflexion, Infosys, iSoft, Microsoft, Prakruthi,






Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

0 Answers  


Types of objects in ASP?

8 Answers   Beget, Microsoft,


Is asp.net and .net are same or different?

0 Answers  


How will you do Redo and Undo in a TextControl?

0 Answers  


Using code explain Configuration Management

0 Answers  


What is the difference between page directive include and action tag include?

0 Answers  


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

0 Answers  






Categories