I'm looking to assign the value of a Bootstrap text box on page load & while I do this, it doesn't format the number nicely. When I'm displaying double values in a column I use
ASPx<PropertiesTextEdit DisplayFormatString="# ###,##0.00">
</PropertiesTextEdit>
to format the number as a currency value. Now I'd like to do something similar with an input. I've tried using the following in the textbox markup on the aspx page:
ASPx<dx:BootstrapTextBox ID="txt_Amount" runat="server">
<MaskSettings Mask="# ###,###.00" IncludeLiterals="None" ErrorText="Please input missing digits" />
<ValidationSettings CausesValidation="True" ValidationGroup="ValPaymentDetails">
<RequiredField ErrorText="A payment value is required" IsRequired="True" />
</ValidationSettings>
</dx:BootstrapTextBox>
What this does is turn a value of "238579.4" to "2 835 794.__" is there a better way to do this? I need a currency format "# ###,###.##"
Thanks in advance