Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is asp net application object?

961


How can we create a website?

898


How many types of sessions are there in asp net?

950


What is diff. Between abstract class and an interface?

973


Using code explain Configuration Management

1893


Where can I get information on cookies in asp.net?

959


Why will you usually create an aspnet user account in the database for an asp.net web application?

965


What is meant by asp.net?

930


What is user control in asp.net?

999


Are there resources online with tips on asp to asp.net conversions?

987


What is AutoPostback?

1091


What are the advantages and disadvantages of Using Cookies?

924


What is the difference between stored procedure vs function?

979


Explain how do you validate the controls in an asp .net page?

863


How do u deploy ur project?

2631