for the textbox if i want to allow only numbers.what ever
the characters u enter it should not take.which event u used?
Answer Posted / kinjal
if u r using web application then take one textbox and use comparevalidator
set properties of comparevalidator .
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="TextBox1"
Display="Dynamic" ErrorMessage="Integer required."
Operator="DataTypeCheck" SetFocusOnError="True"
Type="Integer"></asp:CompareValidator>
Is This Answer Correct ? | 13 Yes | 10 No |
Post New Answer View All Answers
Is the COM architecture same as .Net architecture? What is the difference between them (if at all there is)?
What does mean by .net framework?
Please explain what are an object and a class?
Explain me what is the difference between an abstract class and an interface?
What is the purpose of IClonable interface in .NET?
How do you trigger the paint event in system.drawing?
What is the concept of inheritance in .net?
What is assembly in .net?
How is threading done in .net?
what will do to avoid prior case?
Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?
How can I find out what the garbage collector is doing?
What is WSDL? Explain its architecture?
What is .net3.0 and .net3.5?
Is Driver Script any how related to AOM?