C# Class Adf.Web.UI.UnsignedIntegerTextBox

Represents a Adf.Web.UI.CharacterFilteringTextBox that only allows positive integer values through javascript. WARNING: A Adf.Web.UI.UnsignedIntegerTextBoxValidator should always be enclosed when using this control.

This Adf.Web.UI.CharacterFilteringTextBox contains a onkeypress event that catches illegal characters, based on the CurrentCulture of the user.

This Control should always be used together with a Adf.Web.UI.UnsignedIntegerTextBoxValidator, because users could have JavaScript turned off. This is the code for the validator: UnsignedIntegerTextBox ntb = new UnsignedIntegerTextBox(); ntb.ID = "UnsignedIntegerTextBox1"; UnsignedIntegerTextBoxValidator cv = new UnsignedIntegerTextBoxValidator(); cv.ControlToValidate = ntb.ID;

Inheritance: CharacterFilteringTextBox
Datei anzeigen Open project: NLADP/ADF Class Usage Examples