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
460
Webdatagrid Currency mismatch on edit field
posted

Good day,

I am working on an 10.2 version of the webdatagrid. I have added a DataFormatString to all pricefields in the grid like this:

if (priceFields.Contains(df.DataFieldName))
                    df.DataFormatString = "{0:C0}";

In the web.config i put:

      <globalization
         culture="nl-NL"
         uiCulture="nl-NL"/>

This helps me to show a Euro sign in the grid for all these columns. This works!!

Now comes the funny part. Whenever I edit such a currency column (cell) and I leave the cell, it shows me a dollar sign ($) in stead of the Euro sign. Any ideas of what to change where? Whenever I refresh the grid it shows Euro's again.

thanks very much,

     René

Parents
  • 33839
    posted

    Hi René,

    Do you have EnableScriptGlobalization="true" on the ScriptManager?  That should hopefully allow formatting on the client to take the culture.  If that does not work, it could be a bug.

    regards,
    David Young 

Reply Children
No Data