How to put fixed values into textbox?
I created user control in witch a user can enter varius types of data.
If it's decimal like 0.00,00 i would like for dot and comma to stay in textbox and numbers can be erased.
Is there a way to do it?
How to put fixed values into textbox?
I created user control in witch a user can enter varius types of data.
If it's decimal like 0.00,00 i would like for dot and comma to stay in textbox and numbers can be erased.
Is there a way to do it?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Cory BorrowPosted Jul 2, 2008, 7:52 AM
http://www.codeproject.com/KB/cs/IPAddressTextbox.aspx
http://www.codeproject.com/KB/miscctrl/IPTextBox.aspx
http://www.codeproject.com/KB/edit/IPAddressTextBox.aspx
Sunny ChenPosted Jul 2, 2008, 5:29 AM
If you are on the web form, I suggest you use AJAX instead. Please check www.asp.net for the latest version and sample code of AJAX.NET.
If you are on the win form. I think you can hook the key events to filter out what you are concerning about.
Good luck!
Anna HawksPosted Jun 24, 2008, 3:16 PM