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
655
Decimal and thousand separators
posted

Hi,

I have a WebDataGrid with a decimal column and its own editor:

<ig:BoundDataField DataFieldName ="HORAS_LABORABLES" Key ="HORAS_LABORABLES"

Header-CssClass ="HorasLaborables" Width ="120" CssClass="Right" DataType ="System.Decimal" DataFormatString ="{0:N2}">
<Header Text ="Horas laborables"></Header>
</ig:BoundDataField>

<ig:NumericEditorProvider ID ="Horas">
<EditorControl ClientIDMode="Predictable" runat ="server" DataMode="Decimal" MaxDecimalPlaces="2" >
</EditorControl>
</ig:NumericEditorProvider>

But by default, the decimal separator is “,” and the thousand separator is “.”, but I need just the opposite. I need the “.” as the decimal separator and “,” as the thousand separator.  How can I define the decimal and thousand separator on the NumericEditorProvider?

Thanks for your help.