Range Validation on currency does not work on Icelandic Region Setting

Last post 11-06-2009 11:27 AM by ajayg. 2 replies.

Sort Posts:

  • Range Validation on currency does not work on Icelandic Region Setting

    09-17-2008, 8:19 PM
    • Member
      179 point Member
    • ajayg
    • Member since 07-06-2005, 4:13 PM
    • Posts 39

    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 

     

     

     

  • Re: Range Validation on currency does not work on Icelandic Region Setting

    09-18-2008, 1:15 AM
    Answer

    look at the bellow link 

     

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

    Ramesh Devadkar
    Dotnet Developer

    Dont forget to click “Mark as Answer” on the post that helped you.
    This credits that member, earns you a point and mark your thread as Resolved for the sake of Future Readers
  • Re: Range Validation on currency does not work on Icelandic Region Setting

    11-06-2009, 11:27 AM
    • Member
      179 point Member
    • ajayg
    • Member since 07-06-2005, 4:13 PM
    • Posts 39

    Thanks for the link.

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


Page 1 of 1 (3 items)