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 / yusuf khan
You will also use ajax FilteredTextBoxExtender and in filter
type allows only number like this
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:TextBox ID="TextBox1" runat="server">
</asp:TextBox>
<asp:FilteredTextBoxExtender
ID="FilteredTextBoxExtender1" runat="server"
TargetControlID="TextBox1" FilterType="Numbers">
</asp:FilteredTextBoxExtender>
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do you mean by Driver Script?
Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?
What is 'Common Type System' (CTS) in .NET?
How many types of generations are there in a garbage collector?
A developer company sends dlls to the client. Some client is not happy current functionality, so request some modification. Developer made some changes and send new dll to all clients. Some client is happy with old version, tell me minimal change to so that neither clients get affected?
Explain can the validation be done in the server side? Or this can be done only in the client side?
What are an object and a class?
What are the new features of Framework 1.1 ?
what is the default security setting in .net?
State some of the different languages supported by .net?
What is new in .net core?
How will you do redo and undo in textbox control?
How will you register com+ services?
What does jit do?
How do I use the thread pool?