CultureInfo not picked up by examples

27 replies. Last post: May 27, 2012 8:55 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Frank PMember

A few questions regarding numeric data and entry:

1 - If a machine has a customized format for displaying currency or numbers, how is that picked up by webgrid?

I have Currency Symbol = "^", number and currency decimal symbol = ",", numbers and currency digit grouping symbol = "." set on my machine, but your examples to not use these settings.

2 - How can I make the grid use these settings and how can I make a cell editable with these settings?

I have overridden the cultureinfo for numbers and currency to display correctly, but when I attempt data entry, the values are all wrong. (If I enter "3,4" the value is manipulated by webgrid to "34").

3 - How do I allow for custom culture info, but still maintain proper data in my database? (In the above example, if I allow entry of "3,4", it should be stored in the database as "3.4").

 

 

 

All times are GMT -5. The time now is 3:44 PM.
Previous Next