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
900
WinMaskedEdit and Literals
posted
Hi,
 
our mask for an indexed number (data type is string) has following settings:
 
this.InputMask = "nnnnn.aaa";
this
.ClipMode = MaskMode.IncludeLiterals;
this.DataMode = MaskMode.IncludeLiterals;
this.DisplayMode = MaskMode.IncludeLiterals;
this.TabNavigation = MaskedEditTabNavigation.NextSection;
this.AllowShiftingAcrossSections = false;
//this.EditAs = EditAsType.String;
 
In the edit mode we see the separating point between the numeric and alphanumeric parts, but it disappears in display mode and in the bounded data.
 
With FormatString = "#####.&&&"; we are able to solve the problem in design mode, but not in the underlying data. It seems that MaskMode.IncludeLiterals does not take a point for Literal. "\." helps nothing.
 
We are using the German[de-DE] culture, where a point is a thousand separator.