TextBox Control

  • Thread starter Thread starter Suresh
  • Start date Start date
S

Suresh

Hi All,
Iam looking for the following
1)What needs to be done so that user can enter only
numeric values in the TextBox?
2)How to set Mask for TextBox component. For example, if a
TextBox is intended for Phone Number Data entry, how do we
enable it so that user can type using a mask like (999)
999-9999?

Thanks
Suresh
 
I suggest overloading the TextBox class and creating your own
PhoneNumberTextBox class. with in that class overload the various event
functions to control the input to the box.

-ALD
 
Back
Top