BuildMaster SDK Reference
Version:

SimpleInput Class

An input element designed to replace ValidatingTextBox.

Inheritance Hierarchy

Syntax

public class SimpleInput : Element, System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IUrlResolutionService, System.Web.UI.IDataBindingsAccessor, System.Web.UI.IControlBuilderAccessor, System.Web.UI.IControlDesignerAccessor, System.Web.UI.IExpressionsAccessor, System.Web.UI.IAttributeAccessor, IMandatoryClientIdPolicyContainer, ISimpleControl, ISimpleControlContainer, ISimpleClientResourceConsumer, ISimplePostControl, ISimpleValidationExpression, ISimpleValidator, System.Web.UI.IPostBackDataHandler

Constructors

Name Description
SimpleInput

Initializes a new instance of the SimpleInput class.

SimpleInput(ElementAttribute[] attrs)

Initializes a new instance of the SimpleInput class.

SimpleInput(System.Collections.Generic.IEnumerable<ElementAttribute> attrs)

Properties

Name Description
AutoCompleteValues

Gets or sets auto-complete values for the textbox.

DefaultText

Gets or sets the default text.

FieldName

Gets or sets the name of the field used in validation messages

MaxLength

Gets or sets the maximum length attribute.

Pattern

Gets or sets the regex used to validate.

Required

Gets or sets a value indicating whether a value is required.

ServerValidate

Gets or sets the server validate.

Type

Gets or sets the type.

ValidatorText

Gets or sets a custom validation error message.

Value

Gets or sets the value.

Methods

Name Description
CreateControlCollection

Creates the control collection.

Initialize

Initializes the control.

Render(System.Web.UI.HtmlTextWriter writer)

Sends server control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.