Rick van den Bosch - Blog

... on .NET, software architecture, software development and whatnot

Recent Posts

Tags

News

  • Live space

    Photo blog

    Follow me at twitter

    Rick  van den Bosch

    LinkedIn profile

    Add to Technorati Favorites

    Disclaimer
    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Community

Email Notifications

Blogs I read

Interesting links

Archives

The number of fractional digits is out of range?

After extending a textbox with a NumberUpDownExtender, which comes with the AJAX Control Toolkit, I recieved the error "the number of fractional digits is out of range". This happened when debugging my web application and using the extender. When using the web app in non-debug mode, nothing happened. This included the value change 'not happening'.

Fortunately, this one was REALY easy, but it is not to be found on the web. That's why I am posting this embarassing personal slip-up anyway. As it turned out, I switched the values in minimum and maximum. Make sure the Maximum property of the extender holds the highest value of the two and you should be good to go ;)

By the way, you would think something like this a) could be determined design- or compiletime, and b) could generate a better exception than 'number of fractional digits out of range'.

Comments

Jan Tielens said:

LOL!

Yeah, blame the Extender! ;-)

# May 18, 2008 9:25 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)