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 are custom user controls in asp.net?

1017


What is web api config?

978


Explain the various authentication mechanisms in asp.net.

990


Which is better session or viewstate?

948


How do I open an ashx file in windows 7?

1076


What is the difference between a candidate key and primary key?

1026


What is the advantage of mvc over asp.net? : Asp.Net MVC

978


How to use a Master Database in Asp.net?

1066


What is difference between ispostback and autopostback in asp net?

1047


Why viewstate is used in asp.net?

1029


Explain the Session state management options available with ASP.NET?

1031


What are session cookies?

1011


What is the difference between rest and restful?

1058


What are uri parameters?

1039


How to sign out from forms authentication?

1066