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
What makes .net core cross platform?
What is implement a generic action in webapi?
What is the use com component in .net?
What is the concept of inheritance in .net?
What is the difference between response.redirect & server.transfer?
How does linq work?
What are three common acronyms used in .net, and what do they stand for?
Tell about your technical profile ?
Is it true that objects don't always get destroyed immediately when the last reference goes away?
Is there built-in support for logging?
Tell us why do we use the “using” statement?
Explain why do we use msmq?
Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
Explain how do assemblies find each other?
Explain what is heap and what is stack?