Try our conversational search powered by Generative AI!

Class InputTimeSpan

Provides a user interface to define a System.TimeSpan.

Inheritance
System.Object
InputTimeSpan
Implements
System.Web.UI.INamingContainer
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
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

true if the control should validate the input; otherwise, false. Default value is true.

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

Extension Methods