Completed
Last Updated: 13 Oct 2015 11:01 by ADMIN
ADMIN
Dimitar
Created on: 14 Jan 2015 13:13
Category: GridView
Type: Bug Report
2
FIX. RadGridView - RadMaskedEditBoxEditor removes the blank spaces from the values.
To reproduce:
- Set the column like this:
GridViewMaskBoxColumn col = new GridViewMaskBoxColumn();
col.Mask = "&&&&&&&&&&";
col.MaskType = MaskType.Standard;
col.FieldName = "Name";
col.TextMaskFormat = MaskFormat.IncludeLiterals;

- Type two words and press enter.

Workaround:
public class MyRadMaskedEditBoxEditor : RadMaskedEditBoxEditor
{
    public override object Value
    {
        get
        {
            if (this.MaskTextBox.Mask == "my mask")
            {
                return this.MaskTextBox.Value;
            }
            return base.Value;
        }
        set
        {
            base.Value = value;
        }
    }
}
0 comments