Otter SDK Reference
Version:

TimePicker Class

A text box using jquery_timepicker to facilitate time entry.

Inheritance Hierarchy

Syntax

public class TimePicker : ValidatingTextBox, System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IUrlResolutionService, System.Web.UI.IDataBindingsAccessor, System.Web.UI.IControlBuilderAccessor, System.Web.UI.IControlDesignerAccessor, System.Web.UI.IExpressionsAccessor, System.Web.UI.IAttributeAccessor, System.Web.UI.IPostBackDataHandler, System.Web.UI.IEditableTextControl, System.Web.UI.ITextControl, ISimpleValidationExpression, ISimpleValidator, IMandatoryClientIdPolicyContainer, ISimplePostControl, ISimpleControl, ISimpleClientResourceConsumer

Constructors

Name Description
TimePicker

Initializes a new instance of the TimePicker class.

Properties

Name Description
TimeFormat

Gets or sets the .NET time format string.

TimeFromMidnight

Gets or sets the amount of time that has passed since midnight.

Methods

Name Description
GetClientResources
OnPreRender(System.EventArgs e)

Registers client script for generating postback events prior to rendering on the client, if System.Web.UI.WebControls.TextBox.AutoPostBack is true.

Render(System.Web.UI.HtmlTextWriter writer)

Renders the System.Web.UI.WebControls.TextBox control to the specified System.Web.UI.HtmlTextWriter object.

WriteHtml(SlimHtmlTextWriter writer)

Writes the HTML.