Click here to Skip to main content
15,917,636 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How To Create A TextBox For Accept Only Number By using Dll In Asp.net C#.
Please Help Me Soon....................
Posted

1 solution

First you need to understand how to create a custom user control for this you can check

Building an ASP.NET custom web control: a textbox and validator in one[^]


Once you understand the concept behind this then you can attach a javascript function to your custom control which only accepts the numbers. You can find this script on google very easily.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900