KoolNumericTextBox Class [PHP]

Summary

Properties Description
AutoComplete Set or get whether the autocomplete feature of browser is enabled.
EmptyMessage Set the empty message that will be displayed when no value is entered.
id Get the id of KoolNumericTextBox.
IncrementSettings Contain settings of number increment.
MaxValue Set the max value for user input.
MinValue Set the min value for user input.
NumberFormat Set the format of number.
ShowSpinButton Set or get whether spin button will be shown.
SpinButtonPosition Set or get the position of spin button whether on left side or right side of textbox.
Value Get or set the value of textbox.
Methods Description
Render Render the textbox

Properties Detail

AutoCompleteTop

bool AutoComplete

Set or get whether the autocomplete feature of browser is enabled.

Default value : false

Show/Hide Code

Supported from version: 1.0.0.0

EmptyMessageTop

string EmptyMessage

Set the empty message that will be displayed when no value is entered. You can show message to guide user what to put into the textbox.

Show/Hide Code

Supported from version: 1.0.0.0

idTop

string id

Get the id of KoolNumericTextBox.

Show/Hide Code

Supported from version: 1.0.0.0

IncrementSettingsTop

object IncrementSettings

Contain settings of number increment. By using this setting, you can enable increment by mouse-wheel or by key arrow. You also can set the increment step.

Show/Hide Code

Supported from version: 1.0.0.0

MaxValueTop

float MaxValue

Set the max value for user input.

Show/Hide Code

Supported from version: 1.0.0.0

MinValueTop

float MinValue

Set the min value for user input.

Show/Hide Code

Supported from version: 1.0.0.0

NumberFormatTop

object NumberFormat

Set the format of number. This object contain all format setting. You may look at the SampleCode for more details.

Show/Hide Code

Supported from version: 1.0.0.0

ShowSpinButtonTop

bool ShowSpinButton

Set or get whether spin button will be shown.

Default value : false

Show/Hide Code

Supported from version: 1.0.0.0

SpinButtonPositionTop

string SpinButtonPosition

Set or get the position of spin button whether on left side or right side of textbox.

Default value : "right"

Show/Hide Code

Supported from version: 1.0.0.0

ValueTop

string Value

Get or set the value of textbox. You can use the this parameter to get input from user or to set value for textbox.

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

RenderTop

void Render()

Render the textbox

Show/Hide Code

Supported from version: 1.0.0.0