CHAN Reference

Chan Home | Reference Home | Event Firing Order | web.config

   

Controls.DecimalBox

    
  • Name DecimalBox
  • CSS Class CC_Numeric
  • Type decimal

The DecimalBox represents an input textbox which only allows a decimal value to be entered. It presents its value in code directly as a nullable decimal and has both client and server validation folded within itself.

The end result is that you can marry a DecimalBox directly to an object's decimal typed property or even directly to a database field without having to perform your own casting or validation.

Roadmap

  • Handle setting of Value to DBNull directly, internally casting to Decimal? null