London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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.dll
Version: 10.10.4
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