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
1180
Decimal separator visible even with DataMode="Int" and MaxDecimalPlaces="0" ?
posted

Am I doing something wrong? My entered value is = 2009, but editor is showing it as 2.009.

Why?

Version 12.1.20121.2072,

My editor code:

<ig:WebNumericEditor ID="txtRok" runat="server" DataMode="Int" MaxDecimalPlaces="0"
MaxLength="4" MaxValue="2020" MinValue="2009" Nullable="False" ValueText='2009'>
<Buttons SpinButtonsDisplay="OnRight">
</Buttons>
</ig:WebNumericEditor>

EDIT after a while: my system culture is pl-PL. Is that a thousand separator? What should set not to show number without thousand separator?




Parents
No Data
Reply
  • 13438
    posted

    Hello  ,

    This is specific to the culture. They have group separators which are  ‘,’ ‘.’   And are applied by default. To remove this group separator you will have to make small modifications to the current culture of the page. Please refer to the sample I am attaching.

    WNE_cultures.zip
Children