Home / General / Quick tip: Filtering input to a TextBox control
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Quick tip: Filtering input to a TextBox control

Sometimes, it's the little things that take the longest to work out, so I thought I'd start a "Quick tips" series.  Quick tips are intended to be short and solve a very specific issue.I was talking with Mark Prentice today and we were looking at filtering a TextBox control so that it only accepted numeric characters.  As it works out, this is a very easy thing to do with the .NET Compact Framework.To filter input that is entered into a TextBox, we need to implement a KeyPress event handler.  When you en





Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites