locked
Range Validation on currency does not work on Icelandic Region Setting RRS feed

  • Question

  • User-218290500 posted

    I am working on a product which is deployed across to european countries as well as within US. Some of the ASP.NET pages have the range validation controls which has Type = Currency.

    The range check I need to perform is say MinimumValue = 0 MaximumValue=999999.99 

     The issue is when I deploy the application to Icelandic region, the web.config file already has the globalization culture, CutureUI  settings to is-IS, the deployment web server as well as the region settings as Icelandic, it throws a Conversion Type Error.

    In Iceland the Currency 9,99,999.99 is interpreted as 9.99.999,99.

    I know that the Range Validator - it checks the type of data before performing the validation, it somehow rejects the  9.99.999,99 value as non money type.

    Any solution over this issue is highly appreciated. 

     

    Thanks in advance,

    AG 

     

     

     

    Wednesday, September 17, 2008 8:19 PM

Answers

  • User-518513732 posted

    look at the bellow link 

     

    http://aspalliance.com/699_Solving_the_Challenges_of_ASPNET_Validation.6 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, September 18, 2008 1:15 AM

All replies

  • User-518513732 posted

    look at the bellow link 

     

    http://aspalliance.com/699_Solving_the_Challenges_of_ASPNET_Validation.6 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, September 18, 2008 1:15 AM
  • User-218290500 posted

    Thanks for the link.

    I had to use the custom validator. Although I would have preferred using range validator.


    Friday, November 6, 2009 11:27 AM