Class InputTimeSpan
Provides a user interface to define a System.TimeSpan.
Implements
System.Web.UI.INamingContainer
Inherited Members
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class InputTimeSpan : InputBase, INamingContainer
Constructors
InputTimeSpan()
Initializes a new instance of the InputTimeSpan class.
Declaration
public InputTimeSpan()
Properties
DisplayName
Gets or sets the name that is used to create validation error messages.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name that is used to create validation error messages. |
ValidateInput
Gets or sets a value indicating whether the control should validate the input.
Declaration
public bool ValidateInput { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Set this to false if you want to handle the validation yourself.
Value
Gets or sets the value.
Declaration
public TimeSpan Value { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The value. |
Methods
CreateChildControls()
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
Declaration
protected override void CreateChildControls()
Implements
System.Web.UI.INamingContainer