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
How many types of sessions are there in asp net?
What are merge modules?
How do we ensure view state has not tampered?
What is the difference between application state and caching?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
How does session id work?
How many types of state management are there in asp net?
Explain the Session state management options available with ASP.NET?
What are the types of session in asp.net?
What does aspcompat="true" mean?
What is the difference between login controls and forms authentication?
What is difference between Lambda Expression and LINQ in ASP.NET?
What is the file through which you can customize your asp.net application?
Can master pages be nested?
Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?