BUG: RangeValidator and CompareValidator Controls Do Not Recognize Currency and Double Data (815187)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework) 1.0
- Microsoft ASP.NET (included with the .NET Framework 1.1)
SYMPTOMSWhen you validate the Currency data or the Double data in an ASP.NET application by using the RangeValidator control or the
CompareValidator control, and the data has a decimal point at the beginning or at the end, you receive the error message as mentioned in the
ErrorMessage property of the Validator control.CAUSEThis problem occurs because RangeValidator and CompareValidator do not recognize input data of type Currency if the data has a decimal point at the beginning or at the end (for example, 25. or .25). Also, when input data has a decimal point at the end (for example, 25.), RangeValidator and CompareValidator do not recognize it as
valid input data of type Double.STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCESFor more information about individual validation controls
that are available in ASP.NET, visit the following Microsoft Web
sites: For additional
information, click the following article number to view the article in the
Microsoft Knowledge Base: 306459
INFO: ASP.NET Server Controls Overview
Modification Type: | Minor | Last Reviewed: | 4/30/2003 |
---|
Keywords: | kbpending kbValidation kbServerControls kbWebForms kbbug KB815187 kbAudDeveloper |
---|
|