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 class does icon derive from? Isn't it just a bitmap with a wrapper name around it?
What is the difference between web application and enterprise application?
Why do we use the “using” statement?
What is the lapsed listener problem?
What are the features of dot net?
Please explain what is the .net framework and how does it work?
What is il and c#?
How to load a user control dynamically in runtime?
What is typical about a windows process in regards to memory allocation in dot net?
What is garbage collection? Explain the difference between garbage collections in .net 4.0 and earlier versions?
How ccw (com callable wrapper) and rcw (runtime callable wrappers) works?
How do you define the lease of the object in .net?
Explain what is a delegate?
Explain me what are the deferred execution and the immediate execution in linq?
Example from .net. Integer & struct are value types or reference types in .net?