I would like to define globally a couple of standard format strings for numbers to be used across my ASP.NET project to format number on ASPxGridViews.
What I would like is to define somewhere something like:
public static String defaultQuantyFormat="#,#.00000"
public static String defaultAmountFormat="#,#.00"
Then to have in my aspx code:
<dx:ASPxGridView ID="StrategyObjectsGridView" runat="server">
<Columns>
<dx:GridViewDataTextColumn FieldName="quantity" DisplayFormatString='<%# defaultQuantyFormat %>'>
<dx:GridViewDataTextColumn FieldName="amount" DisplayFormatString='<%# defaultAmountFormat %>'>
</Columns>
</dx:ASPxGridView>
Is it possible to do something like that?