
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, IFormat, IMask |
Visual Basic (Usage) | ![]() |
---|---|
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, IFormat, IMask |
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, IFormat, IMask |
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, IFormat, IMask |
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, IFormat, IMask |
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. |
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. |
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
ISNet.WebUI.ISNetControl
ISNet.WebUI.WebControls.WebInput
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
Reference
WebInput MembersISNet.WebUI.WebControls Namespace
Tasks
Walkthrough: Creating simple input using Wizardtasks
Walkthrough: Creating password input using WizardWalkthrough: Creating DateTime free input using Wizard
Walkthrough: Creating masked DateTime input using Wizard
Walkthrough: Creating numeric input using Wizard
Walkthrough: Creating masked input using Wizard
How-to: Create WebInput programmatically
Concepts
WebInput.NET ModeData Type