Class InputBase
Base class for web controls that provide a user interface for setting values for different types.
Inheritance
System.Object
InputBase
Implements
System.Web.UI.INamingContainer
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class InputBase : WebControl, INamingContainer
Remarks
Used to privide a user interface by several of the built in property controls.
Constructors
InputBase()
Declaration
public InputBase()
Properties
TagKey
We use a div as the container tag as the input controls create block elements which are not allowed in a span that is the default tag for WebControl.
Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type | Description |
---|---|
System.Web.UI.HtmlTextWriterTag |
Methods
CopyWebAttributes(Control)
Copies the attributes from this control to another control.
Declaration
protected void CopyWebAttributes(Control toControl)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Control | toControl | The destination control. |
CopyWebAttributes(Control, Control)
Copies the attributes from one control to another control.
Declaration
public static void CopyWebAttributes(Control fromControl, Control toControl)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Control | fromControl | The source control. |
System.Web.UI.Control | toControl | The destination control. |
Implements
System.Web.UI.INamingContainer