Skip to end of metadata
Go to start of metadata

Intersoft ASP.Net WebInput server control for Microsoft ASP.NET

Definition

public class WebInput : ISNetControl,

INamingContainer, IPostBackEventHandler, IFormat, IMask

Summary

The following table summarizes the members exposed in this class.

Public Constructors

WebInput Constructor() Initializes a new instance of the WebInput class.

Protected Constructors

Public Properties

AcceptEnter Indicates if Enter characters are accepted as input.
AcceptEsc Indicates if Esc characters are accepted as input.
AcceptTab Indicates if Tab characters are accepted as input.
AutoPostBack
CalculatorEditor Gets or sets CalculatorEditor for this WebInput.
CalculatorEditorClientSideEvents Gets or sets calculator editor client side events for WebInput.
CaseSentitive Specifies if string comparisons within control are case-sensitive.
CausesValidation Gets or sets a value indicating whether validation is performed when the WebInput control is set to validate when a postback occurs.
CharacterCasing Indicates whether the control modifies the case of characters as they are typed.
ClientSideEvents Gets or sets client side events for WebInput.
Controls Gets the collection of controls contained within the control.
CultureInfo Gets or sets culture info for WebInput.
DateTimeEditor Gets or sets DateTimeEditor for this WebInput.
DateTimeEditorClientSideEvents Gets or sets datetime editor client side events for WebInput.
DateTimeFormatting
DateTimeValue
DecimalSeparator
Dir Indicates the reading order of control.
DisplayFormat Represents display format info.
DisplayFormatClientSideEvents Gets or sets display format client side events for WebInput.
DropDownStyle Gets or sets the style of dropdown button element.
EditFormat "Represents edit format info.
EditFormatClientSideEvents Gets or sets edit format client side events for WebInput.
EditText Represents value that already been edited.
EmptyAsNull Indicates if empty strings within control are interpreted as null values.
Enabled Gets or sets a value that indicates whether the control is enabled.
EnableWaterMarkImage
FrameStyle Gets or sets the style of the control's frame.
Height
HighLight Represents the selection, which is a highlighted block of text.
ImagesDirectory
ImageSettings Represents image settings.
InitialSelection Determines the selection position when control receives focus.
IsDesignInitialize
LastErrorCode
LastErrorValue
MaxDate
MaximumDate
MaxLength Sets or retrieves a value that indicates the maximum number of characters that the user can enter (Not working for DisplayFormat and EditFormat).
MinDate
MinimumDate
NetFrameworkVersion
Nullable Indicates if control can contain null value.
NumericInput Indicates if control only accepts numeric value.
ReadOnly Indicates if control text can be edited.
ResetOnInvalidEntry
Rows Specifies rows count.
ScriptDirectory Gets or sets the directory where all required scripts for the control are stored.
SharedScriptDirectory
ShowCheckBoxForNullInput Gets or sets a value indicating whether checkbox for nullable value is showed.
StyleSettings Represents style settings.
TabIndex Gets or sets the tab order of the control within its container.
Text Represents value that already been formatted, validated and masked.
TextBoxStyle Gets or sets the style of text box element.
TextMode Specifies the behavior mode of the text box.
TextSettings Represents text settings.
TextToCompare
UseDefaultStyle Gets or sets a value indicating whether default style is used.
ValidationGroup Gets or sets the group of controls for which the WebInput control causes validation when it posts back to the server.
ValidData
Value Represents control data source value.
Visible
WaterMark
WaterMarkImage
WaterMarkImageStyle
WaterMarkText
WaterMarkTextStyle
WebDesktopScriptDirectory
Width
Wrap Specifies the behavior mode of the text box.

Protected Properties

Public Methods

Protected Methods

Events


Public Constructors

public WebInput()

Protected Constructors

protected WebInput(SerializationInfo info, StreamingContext context)

Parameters

info
context

Public Properties

public bool AcceptEnter { get; set; }

Indicates if Enter characters are accepted as input.

public bool AcceptEsc { get; set; }

Indicates if Esc characters are accepted as input.

public bool AcceptTab { get; set; }

Indicates if Tab characters are accepted as input.

public bool AutoPostBack { get; set; }

public CalculatorEditor CalculatorEditor { get; set; }

Gets or sets CalculatorEditor for this WebInput.

public CalculatorEditorClientSideEvents CalculatorEditorClientSideEvents { get; set; }

Gets or sets calculator editor client side events for WebInput.

public bool CaseSentitive { get; set; }

Specifies if string comparisons within control are case-sensitive.

public bool CausesValidation { get; set; }

Gets or sets a value indicating whether validation is performed when the WebInput control is set to validate when a postback occurs.

public CharacterCasing CharacterCasing { get; set; }

Indicates whether the control modifies the case of characters as they are typed.

public WebInputClientSideEvents ClientSideEvents { get; set; }

Gets or sets client side events for WebInput.

public ControlCollection Controls { get; }

Gets the collection of controls contained within the control.

public CultureInfoWrapper CultureInfo { get; set; }

Gets or sets culture info for WebInput.

public DateTimeEditor DateTimeEditor { get; set; }

Gets or sets DateTimeEditor for this WebInput.

public DateTimeEditorClientSideEvents DateTimeEditorClientSideEvents { get; set; }

Gets or sets datetime editor client side events for WebInput.

public string DateTimeFormatting { get; }

public string DateTimeValue { get; set; }

public string DecimalSeparator { get; set; }

public DIR Dir { get; set; }

Indicates the reading order of control.

public FormatValidatorInfo DisplayFormat { get; set; }

Represents display format info.

public FormatValidatorClientSideEvents DisplayFormatClientSideEvents { get; set; }

Gets or sets display format client side events for WebInput.

public DynamicStyle DropDownStyle { get; set; }

Gets or sets the style of dropdown button element.

public MaskValidatorInfo EditFormat { get; set; }

"Represents edit format info.

public MaskValidatorClientSideEvents EditFormatClientSideEvents { get; set; }

Gets or sets edit format client side events for WebInput.

public string EditText { get; set; }

Represents value that already been edited.

public bool EmptyAsNull { get; set; }

Indicates if empty strings within control are interpreted as null values.

public bool Enabled { get; set; }

Gets or sets a value that indicates whether the control is enabled.

public bool EnableWaterMarkImage { get; set; }

public DynamicStyle FrameStyle { get; set; }

Gets or sets the style of the control's frame.

public Unit Height { get; set; }

public HighLight HighLight { get; set; }

Represents the selection, which is a highlighted block of text.

public string ImagesDirectory { get; set; }

public WebInputImageSettings ImageSettings { get; set; }

Represents image settings.

public InitialSelection InitialSelection { get; set; }

Determines the selection position when control receives focus.

public bool IsDesignInitialize { get; set; }

public ErrorCode LastErrorCode { get; }

public object LastErrorValue { get; }

public DateTime MaxDate { get; set; }

public string MaximumDate { get; set; }

public int MaxLength { get; set; }

Sets or retrieves a value that indicates the maximum number of characters that the user can enter (Not working for DisplayFormat and EditFormat).

public DateTime MinDate { get; set; }

public string MinimumDate { get; set; }

public string NetFrameworkVersion { get; }

public bool Nullable { get; set; }

Indicates if control can contain null value.

public bool NumericInput { get; set; }

Indicates if control only accepts numeric value.

public bool ReadOnly { get; set; }

Indicates if control text can be edited.

public bool ResetOnInvalidEntry { get; set; }

public int Rows { get; set; }

Specifies rows count.

public string ScriptDirectory { get; set; }

Gets or sets the directory where all required scripts for the control are stored.

public string SharedScriptDirectory { get; set; }

public bool ShowCheckBoxForNullInput { get; set; }

Gets or sets a value indicating whether checkbox for nullable value is showed.

public WebInputStyleSettings StyleSettings { get; set; }

Represents style settings.

public short TabIndex { get; set; }

Gets or sets the tab order of the control within its container.

public string Text { get; set; }

Represents value that already been formatted, validated and masked.

public DynamicStyle TextBoxStyle { get; set; }

Gets or sets the style of text box element.

public TextBoxMode TextMode { get; set; }

Specifies the behavior mode of the text box.

public WebInputTextSettings TextSettings { get; set; }

Represents text settings.

public string TextToCompare { get; }

public bool UseDefaultStyle { get; set; }

Gets or sets a value indicating whether default style is used.

public string ValidationGroup { get; set; }

Gets or sets the group of controls for which the WebInput control causes validation when it posts back to the server.

public bool ValidData { get; }

public object Value { get; set; }

Represents control data source value.

public bool Visible { get; set; }

public bool WaterMark { get; set; }

public string WaterMarkImage { get; set; }

public DynamicStyle WaterMarkImageStyle { get; set; }

public string WaterMarkText { get; set; }

public DynamicStyle WaterMarkTextStyle { get; set; }

public string WebDesktopScriptDirectory { get; set; }

public Unit Width { get; set; }

public WrapType Wrap { get; set; }

Specifies the behavior mode of the text box.

Protected Properties

protected string DefaultImagesFolder { get; }

protected LicType LicenseType { get; set; }

protected bool OptimizeCss { get; }

protected bool OptimizeCssName { get; }

protected ProductInfo Product { get; }

protected Icon ProductIcon { get; }

protected Image ProductImage { get; }

Public Methods

public void CheckConstrains()

Check WebInput constrains.

public void ClearInvalidData()

public void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info
context

public RegistryKey GetProductRegistryPath()

public object GetXMLCultureInfo()

public string GetXMLData()

Get xml data for WebInput client side object model serialization.

Return Types

A System.String that contains xml data.

public bool IsValid()

public void LoadLayoutFromFile(string filePath)

Parameters

filePath

public bool LoadPostData(string postDataKey, NameValueCollection postCollection)

Parameters

postDataKey
postCollection

public void MaskInfo_InputTextChanged(object sender, EventArgs e)

Parameters

sender
e

public void OnPostBackTextChanged(TextChangeEventArgs e)

Parameters

e

public void OnTextChanged(EventArgs e)

Raises the WebInput event.

Parameters

e The System.EventArgs object that contains the event data.

public void RaisePostBackEvent(string eventArgument)

Parameters

eventArgument

public void RaisePostDataChangedEvent()

public void RegisterScript()

public void RenderEndTag(HtmlTextWriter writer)

Parameters

writer

Protected Methods

protected void AssignXmlInputHiddenUniqueID()

protected void CreateChildControls()

protected RenderDHTML GetDHTMLRenderer()

protected void InitializeDefaultStyles()

protected void OnPreRender(EventArgs e)

Parameters

e

protected void OnUnload(EventArgs e)

Parameters

e

protected object SaveViewState()

Events

public event TextChangeEventHandler PostBackTextChanged

public event EventHandler TextChanged

  • No labels