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 is the difference between vb.net and vc#.net?
What is Complex Class in .NET?
Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column
Explain soap and xml?
What operating systems does the .net framework run on?
Please explain what is the difference between constants and read-only variables?
If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.
Please explain what garbage collection is and how it works. Provide a code example of how you can enforce garbage collection in .net?
Explain how do assemblies find each other?
Name the classes that are introduced in the system.numerics namespace.
Can you edit data in repeater control? How?
Explain the main components in .net?
What is difference between .net and .net core?
Explain how to spawn a thread?
Explain what is the difference between web application and enterprise application?