Content Studio Web Content Management System
SystemObject
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingDateBase
ContentStudio.Site.ActiveScripting.DateTimePicker
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
If you are using more that one time Picker on one page you must ensure that each one are given a unique name or an error will occur.
[This is preliminary documentation and is subject to change.]
Displays a dropdown control that allows the user to select a time.
Inheritance Hierarchy
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingDateBase
ContentStudio.Site.ActiveScripting.DateTimePicker
Namespace: ContentStudio.Site.ActiveScripting.Date
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The TimePicker type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TimePicker |
Constructs a new Time picker with a specified unique identifier
|
Properties
Name | Description | |
---|---|---|
BackwardsComponentCompatibilityMode |
Sets or gets a value that indicates whether the code runs in backwards
compatibility component mode. The default value is false.
(Inherited from ActiveScriptingBase.) | |
BlankStartText |
Sets or gets the text to be displayed in the non time alternative in the generated dropdown. This value is ignored if UseBlankStart is false.
The default value is an empty string.
| |
ComponentName |
Gets the name of the component.
(Overrides ActiveScriptingBaseComponentName.) | |
Conformance |
Gets a value which specifies which type of code a component can generate.
(Overrides ActiveScriptingBaseConformance.) | |
ElementType |
Gets a value which specifies the type of outer element the component generates.
(Overrides ActiveScriptingBaseElementType.) | |
Encoding |
Sets or gets the encoding the component uses. The default encoding is
the UTF8 encoding without byte order mark.
(Inherited from ActiveScriptingBase.) | |
Interval |
Sets or gets the interval in minutes between each selectable time value. This value can be between 1 and 1440.
The default value is 10.
| |
RoundMode |
Determines how the component determines the inital select value in relation to the init time.
The default value is TimeRoundMode.AlwaysUp.
| |
SelectedHour |
Specifies the hour part of the specified time in the 24 hours format. This value can be between 0 and 23.
The default value is the hour of the current time.
| |
SelectedMinute |
Specifies the minute part of the specific time. This value can be between 0 and 59.
The default value is the minute of the current time.
| |
TimeFormat |
Sets or gets A string to use to format the time value displayed in the drop down.
However the actual submitted value is always in the international 24 hour format.
For a more information on the different time format strings see the System.Globalization.DateTimeFormatInfo class documentation.
The default value is t which specifies the short time format of the system;
| |
UseBlankStart |
Sets or gets a value that forces the component to insert a non time alternative. This enables the user to select a blank time value.
The default value is false.
| |
UseSpecificTime |
Initialize the component with a specific time rather than the current time
The default value is false.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Invoke |
Invokes the time picker and returns a dropdown control.
| |
ToString | (Inherited from Object.) |
Remarks
See Also