Intersoft WebInput Documentation
WebInput Class
Members  See Also  Send Feedback
ISNet.WebUI.WebControls Namespace : WebInput Class






Glossary Item Box

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

Object Model

WebInput Class

Syntax

Visual Basic (Declaration) 
<System.Web.UI.ValidationPropertyAttribute("TextToCompare")>
<System.Web.UI.ToolboxDataAttribute("<{0}:WebInput IsDesignInitialize="False" runat=server></{0}:WebInput>")>
<System.ComponentModel.DefaultPropertyAttribute("Text")>
<System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.ComponentModel.ComponentEditor, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", EditorTypeName="‘.›, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")>
<System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="‘.œ, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")>
<ISNet.Serialization.XmlSerializableAttribute(JSFileNames="webinput.js", Type=XmlSerializationType.ClientAndLayout)>
<System.SerializableAttribute()>
<System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Deny Or  _
    SecurityAction.LinkDemand, 
   Unrestricted=False)>
<System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Assert Or  _
    SecurityAction.Deny Or  _
    SecurityAction.PermitOnly Or  _
    SecurityAction.LinkDemand Or  _
    SecurityAction.InheritanceDemand, 
   Unrestricted=False)>
Public Class WebInput 
   Inherits ISNet.WebUI.ISNetControl
   Implements ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, IFormatIMask 
Visual Basic (Usage)Copy Code
Dim instance As WebInput
C# 
[System.Web.UI.ValidationPropertyAttribute("TextToCompare")]
[System.Web.UI.ToolboxDataAttribute("<{0}:WebInput IsDesignInitialize="False" runat=server></{0}:WebInput>")]
[System.ComponentModel.DefaultPropertyAttribute("Text")]
[System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.ComponentModel.ComponentEditor, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", EditorTypeName="‘.›, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")]
[System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="‘.œ, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")]
[ISNet.Serialization.XmlSerializableAttribute(JSFileNames="webinput.js", Type=XmlSerializationType.ClientAndLayout)]
[System.SerializableAttribute()]
[System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=false)]
[System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=false)]
public class WebInput : ISNet.WebUI.ISNetControl, ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, IFormatIMask  
Delphi 
public class WebInput = class(ISNet.WebUI.ISNetControl, ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, IFormat, IMask)
JScript 
System.Web.UI.ValidationPropertyAttribute("TextToCompare")
System.Web.UI.ToolboxDataAttribute("<{0}:WebInput IsDesignInitialize="False" runat=server></{0}:WebInput>")
System.ComponentModel.DefaultPropertyAttribute("Text")
System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.ComponentModel.ComponentEditor, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", EditorTypeName="‘.›, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")
System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="‘.œ, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")
ISNet.Serialization.XmlSerializableAttribute(JSFileNames="webinput.js", Type=XmlSerializationType.ClientAndLayout)
System.SerializableAttribute()
System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=)
System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=)
public class WebInput extends ISNet.WebUI.ISNetControl implements ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, IFormatIMask 
Managed Extensions for C++ 
[System.Web.UI.ValidationPropertyAttribute("TextToCompare")]
[System.Web.UI.ToolboxDataAttribute("<{0}:WebInput IsDesignInitialize="False" runat=server></{0}:WebInput>")]
[System.ComponentModel.DefaultPropertyAttribute("Text")]
[System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.ComponentModel.ComponentEditor, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", EditorTypeName="‘.›, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")]
[System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="‘.œ, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")]
[ISNet.Serialization.XmlSerializableAttribute(JSFileNames="webinput.js", Type=XmlSerializationType.ClientAndLayout)]
[System.SerializableAttribute()]
[System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=false)]
[System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=false)]
public __gc class WebInput : public ISNet.WebUI.ISNetControl, ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, IFormatIMask  
C++/CLI 
[System.Web.UI.ValidationPropertyAttribute("TextToCompare")]
[System.Web.UI.ToolboxDataAttribute("<{0}:WebInput IsDesignInitialize="False" runat=server></{0}:WebInput>")]
[System.ComponentModel.DefaultPropertyAttribute("Text")]
[System.ComponentModel.EditorAttribute(EditorBaseTypeName="System.ComponentModel.ComponentEditor, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", EditorTypeName="‘.›, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")]
[System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="‘.œ, ISNet.WebUI.WebInput, Version=4.0.7200.4, Culture=neutral, PublicKeyToken=b1f2a8511635667a")]
[ISNet.Serialization.XmlSerializableAttribute(JSFileNames="webinput.js", Type=XmlSerializationType.ClientAndLayout)]
[System.SerializableAttribute()]
[System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=false)]
[System.Web.AspNetHostingPermissionAttribute(Level=AspNetHostingPermissionLevel.Minimal, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=false)]
public ref class WebInput : public ISNet.WebUI.ISNetControl, ISNet.ICopyable, ISNet.IObjectState, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.IXmlSerialize, ISNet.WebUI.IBaseISNetControl, ISNet.WebUI.IInfo, ISNet.WebUI.ILayoutSettings, IFormatIMask  

Remarks

The WebInput.NET control is a rich user interface input control that allows you to formatting data, masking data, validating data, and highlighting data. To display data in the WebInput.NET control set the Value properties to a valid data source (a string, datetime or numeric data type). WebInput.NET doesn't provide databinding mechanism cause the data that is proceed just a simple value. The Text property contains text data that is formatted, masked, edited and validated. Supports .NET culture settings formatting, specifiers, separator etc (from Afrikaans to Vietnamese). For a better editing experience, the WebInput.NET control has several features like : HighLighting, Formatting, Masking, and Validating data in client side (web browser). With HighLight, user can select specific edit value (whether a character, a phrase or a word), edit the value , and spin it (for spin, it requires EditFormat feature enabled). The Formatting lets WebInput.NET formats and validate the display text data according to supplied format expression. The Masking provides better editing experience by defined input placeholders per character and literals , validate it per character or phrase, and spin the selected value. An exception to Masking, there is a DynamicNumber of MaskType that validates and reformats each value entered and each key stroked. This DynamicNumber doesn't need to specify the masking expression. The Validating mechanism is internally plugged to Formatting and Masking feature. To interact intensively with WebInput.NET process at runtime, there is a client side class library of WebInput.NET that can be modified via script and persisted to server side when postback. The client side object is actually a mini version of server side object with some extra client side features. So client side object has consistent object model reflect to server side object model. There are also several client side event handlers that can be attach. Every event handlers provide minimum a controlId parameter as standard. There are 2 builtin editors that power editing capabilities, Calculator editor and DateTime editor. The editors work well with HighLight, Formatting, Masking and Validating feature. WebInput.NET built base on new Intersoft WEBUI framework studio. As result, it inherits all power and benefit of new framework likes instance object cloning (with reference type), instance object reseting (with reference type), instance object copying (with reference type), instance object empty checking (with reference type), support Intersoft VML serializable and Intersoft Binary serializable, intuitive designtime support, and etc. WebInput.NET control has 4 modes :
Mode Description
Basic WebInput.NET is used without formatting, editing and validating feature. There is no editor available.
Display WebInput.NET is used with display format feature. For datetime format datatype, edit value is convert to default short or long datetime format. For number format datatype, there is simple buildin editing feature like plus-minus sign and decimal separator validation. This mode supports formatting, validating, highlighting and client editor.
Edit WebInput.NET is used with edit format feature. For datetime, number and other mask datatype, spinning feature is enabled. For dynamicNumber, highlighting and spinning feature are disabled. mask datatype This mode supports masking, validating, highlighting (except for MaskType.DynamicNumber) and client editor.
Display and Edit Composition of display and edit mode. Display and edit mode must have synchronous data type.
Each mode supports client editor with ascociate datatype. Formatting and validating feature works in display mode. Masking, HighLighting work at edit mode. Masking is highly integrated with HighLighting feature. It required HighLighting feature to be enabled (these is set automatically). Editors can be collaborate with HighLighting. If editors is collaborated with highlight and highlight is enabled then it only edit value that is highlighted. When editors is work with highlight or masking, some of editors features are disabled for consolidation purpose.

The WebInput.NET control is a rich user interface input control that allows you to perform formatting, masking, validating, and highlighting data. To display data in the WebInput.NET control set the Value properties to a valid data source (a string, datetime or numeric data type). WebInput.NET does not provide databinding mechanism because the data that is proceed just a simple value. The Text property contains text data that is formatted, masked, edited and validated.

WebInput supports .NET culture settings formatting, specifiers, separator etc (from Afrikaans to Vietnamese).

For a better editing experience, the WebInput.NET control has several features such as : HighLighting, Formatting, Masking, and Validating data in client side (web browser). Using HighLight, user can select specific edit value (whether a character, a phrase or a word), edit the value, and spin it (for spin, it requires EditFormat feature enabled). Formatting allows WebInput.NET to format and validate the display text data according to supplied format expression. Masking provides better editing experience by defined input placeholders per character and literals, validate it per character or phrase, and spin the selected value. An exception to Masking, there is a DynamicNumber of MaskType that validates and reformats each value entered and each key stroked. This DynamicNumber does not need to specify the masking expression. The Validating mechanism is internally plugged to Formatting and Masking feature.

To interact intensively with WebInput.NET process at runtime, there is a client side class library of WebInput.NET that can be modified via script and persisted to server side when postback. The client side object is actually a mini version of server side object with some extra client side features. Thus client side object has consistent object model reflect to server side object model. There are also several client side event handlers that can be attach. Every event handler provides minimum a controlId parameter as standard.

There are 2 built-in editors that power editing capabilities: CalculatorEditor and DateTimeEditor. The editors work well with HighLight, Formatting, Masking and Validating feature.

WebInput.NET built base on new Intersoft WebUI Framework studio. As a result, it inherits all power and benefit of new framework likes instance object cloning (with reference type), instance object reseting (with reference type), instance object copying (with reference type), instance object empty checking (with reference type), support Intersoft VML serializable and Intersoft Binary serializable, intuitive designtime support, and etc.

WebInput.NET control has 4 modes :

Mode Description
Basic WebInput.NET is used without formatting, editing and validating feature. There is no editor available.
Display WebInput.NET is used with display format feature. For datetime format datatype, edit value is converted to default short or long datetime format. For number format datatype, there is simple build-in editing feature like plus-minus sign and decimal separator validation. This mode supports formatting, validating, highlighting and client editor.
Edit WebInput.NET is used with edit format feature. For datetime - number and other mask datatype, spinning feature is enabled. For dynamic number - highlighting and spinning feature are disabled. This mode supports masking, validating, highlighting (except for MaskType.DynamicNumber) and client editor.
Display and Edit Composition of display and edit mode. Display and edit mode must have synchronous data type.
Each mode supports client editor with associate datatype. Formatting and validating features work in display mode. Masking and HighLighting work in edit mode. Masking is highly integrated with HighLighting feature. It requires HighLighting feature to be enabled (this is set automatically). Editors can be collaborated with HighLighting. If editors is collaborated with highlight and highlight is enabled then it only edit value that is highlighted. When editors work with highlight or masking, some of editors features are disabled for consolidation purpose.

Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         ISNet.WebUI.ISNetControl
            ISNet.WebUI.WebControls.WebInput

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2013 Intersoft Solutions Corp. All Rights Reserved.