[DevExpress Support Team: CLONED FROM T828978: Validation - Non-string values are incorrectly interpreted as invalid using mask validation rules while updating row values]
This problem is still happening on our phone number fields, see below for column definition.
HTML<dx:GridViewDataTextColumn FieldName="PhoneCellNumeric" Caption="Mobile" Width="110px">
<PropertiesTextEdit Width="110px" DisplayFormatString="{0:(###) ###-####}">
<MaskSettings Mask="(000) 000-0000" IncludeLiterals="None" />
<ClientSideEvents Validation="dxPhoneValidation" />
</PropertiesTextEdit>
<CellStyle HorizontalAlign="Left" />
<EditFormSettings VisibleIndex="7" ColumnSpan="2" />
</dx:GridViewDataTextColumn>
Hello,
I created a sample project where I used a text column with exactly your column's settings and tested this project in version 19.2.4 (this version contains the fix we applied in the scope of the Validation - Non-string values are incorrectly interpreted as invalid using mask validation rules while updating row values thread).
I was not able to reproduce the issue with submitting row values using my sample project. Please see the video attached.
Please check how the attached sample operates on your side. Did I miss anything important?
In this case, please add required modifications to my sample and send it back to me. Also, describe steps I should perform with my sample in order to replicate the problematic behavior.
We will investigate it and do our best to assist you.
Thank you for the sample project. When I run the solution, the grid loads fine. However, if i remove the phone number I get the error icon (see attachment). I added to your solution the code below to ensure the field is not required and I still get the error when deleting the phone number. I need to make that field not required, what am I missing?
: : : <dx:GridViewDataTextColumn FieldName="Phone" Caption="Mobile" Width="110px"> <PropertiesTextEdit Width="110px" DisplayFormatString="{0:(###) ###-####}"> <MaskSettings Mask="(000) 000-0000" IncludeLiterals="None" /> <ValidationSettings ErrorDisplayMode="ImageWithText"> <RequiredField IsRequired="false" /> </ValidationSettings> </PropertiesTextEdit> <CellStyle HorizontalAlign="Left" /> </dx:GridViewDataTextColumn> : : :