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
175
copy/paste issue with other culture
posted

 Hi,

 I have a UltraWebGrid, I use a custom column where I format the numbers with an webnumericedit where the culture is set on "nl-NL"

    <igtxt:WebNumericEdit ID="wneFloatEditor" runat="server" DataMode="Double" MaxLength="20"
      MinValue="0" Width="100px" Culture="nl-NL" MinDecimalPlaces="Two">
    </igtxt:WebNumericEdit>

 the column definition looks like this:

 <igtbl:UltraGridColumn IsBound="True" Key="Hoeveelheid" BaseColumnName="Hoeveelheid"
              Type="Custom" EditorControlID="wneFloatEditor">
              <Header Caption="Aantal">
                <RowLayoutColumnInfo OriginX="3" />
              </Header>
              <CellStyle HorizontalAlign="Right" />
              <Footer>
                <RowLayoutColumnInfo OriginX="3" />
              </Footer>
            </igtbl:UltraGridColumn>

 

In this culture (nl-NL) the decimals are separated by coma (English => 2.25 ,Dutch=> 2,25). If I copy and paste this value, then I get 225 instead of 2,25 as I should.

Please help