StrataFrame Forum

MaskedTextBox control

http://forum.strataframe.net/Topic3865.aspx

By Scott - 10/26/2006

I am using a maskedtextbox control to allow the user to enter phone number.  I have set the mask property and haven't touched any of the other properties of the control.  When using a standard maintanence form, after entering a new phone number and hitting save the numbers disappears.  What am I doing wrong here.  Thanks for any help.
By Trent L. Taylor - 10/26/2006

Does the phone number get saved to your database?
By Scott - 10/26/2006

I think I figured it out.  It seems that if you change the data in the field but DON'T tab out of the filed or leave it any changes will not be applied.  Any suggestions as to how to work with this limitation.
By Trent L. Taylor - 10/26/2006

Honestly the best place to look is on Google for any bright ideas as it relates to the MaskedTextBox.  Generally we work around this control...we just inherited the standard .NET MaskedTextBox and added our binding support.  This particular control we did not do anything fancy...so I don't have any real words of wisdom here Ermm  sorry.