Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
835
Save UltraMaskedEdit Text without InputMask
posted

How do I save the data entered in an UltraMaskedEdit control without format characters? For example, my input mask is (###) ###-#### and my database value on load is 8887567824. On save, the database is updating with (888) 756-7824. Is there a setting or method that returns the string without the formatting? It seems like I'm missing something simple. I am not using databinding in this case, just setting the Text (or Value) properties.

 

Parents
No Data
Reply
  • 20872
    Suggested Answer
    Offline posted

    Hello SAbady,

    Probably what you could set is just the following:

     ultraMaskedEdit1.DataMode = Infragistics.Win.UltraWinMaskedEdit.MaskMode.Raw;

    I believe that this should be the Default setting of the DataMode property, but maybe you are setting it to something else in your code.

    Please let me know if you have any other questions.

     

Children
No Data