Click here to Skip to main content
15,917,627 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to extend text box to number box. Can I have Some ready made input for having int inputs from the user. I can make user controls but that method Is not so proper. I want to create my integer Input Cotrol as a child of TextBox So I can use it freely.
Looking forward to know from you.
Posted
Comments
Joel Clark 2-Dec-11 22:14pm    
Can I have a little more information? Do you want the textbox input to change dynmaically from varchar input to int16/32/64 input based on a condition?

What about MaskedEdit[^]?
 
Share this answer
 
Comments
Rubaba 3-Dec-11 11:42am    
nice link.5*
Try the following link:
C# MaskedEdit Control[^]
Masked C# TextBox Control[^]

Let me know if you need further help.
 
Share this answer
 
Comments
Rubaba 3-Dec-11 11:42am    
nice link.5*
Monjurul Habib 3-Dec-11 13:03pm    
thank you Rubaba.
If you are using Web Forms you can use the range validation control and check for Integer type.
 
Share this answer
 
What is number box ?
Either you accept value in textbox and validate it for accepting only intergers. so it will behave like numberbox.
 
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