This is a migrated thread and some comments may be shown as answers.

RadMaskedEditBox.Value doesn't work

1 Answer 71 Views
MaskedEditBox
This is a migrated thread and some comments may be shown as answers.
Luis
Top achievements
Rank 1
Luis asked on 23 Jul 2012, 01:26 PM

Hello
i'm using the 2012 Q2 release and when i try to use the value from maskededitbox it doesn't works
if i have this mask: 000-000-0000 and used the value property it will bring me the same mask

and in the RadGridView if i use the Mask Column no matter what kind of mask i tried to use it doesn't works

thanks

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Jul 2012, 01:05 PM
Hi Luis,

Thank you for contacting Telerik support.

You should set the TextMaskFormat property to ExcludePromtAndLiterals. This property determines whether literals (like minus symbol) and prompt characters are included in the value property:
radMaskedEditBox1.TextMaskFormat=System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;

I would kindly ask you to open a new support ticket and send me a sample project which demonstrates the issue with RadGridView and Mask Column. This will allow us to investigate your case and provide you with adequate support.

Thank you for your cooperation. Greetings,
Peter
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
MaskedEditBox
Asked by
Luis
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or