Adam Byram is a software developer in Oak Ridge, TN. These days, he's making our healthcare system better at his day job and experimenting with VR/AR in his free time. You can get in touch via Twitter or Google+.

Published

Range Validator’s Whacky Default

Just a quick tip to hopefully save someone out there a little bit of time… If you add range validator to your ASP.NET page that is checking a numerical range (e.g. 10 min to 100 max) make sure you set the Type of the range validator to Integer… If you just say 10 to 100 without setting it, you’ll set some whacky results since it defaults to Type=String for some reason…

Adam Byram is a software developer in Oak Ridge, TN. These days, he's making our healthcare system better at his day job and experimenting with VR/AR in his free time. You can get in touch via Twitter or Google+.