New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Styles

RadTimePicker control comes with a set of predefined styles, which are specified by the styles in the current skin CSS classes. If the Skin property is not set to an empty string, you can use a variety of style properties to further customize the appearance of the control.

Setting these properties will copy any non-blank elements of the specified style to the specific element of the rendered control, overwriting any existing style elements defined by the used skin.

Setting a style property does not always affect the appearance of a control, if the skin has a setting that applies to a more specific element.

RadTimeView Styles

The following table lists the styles that you can assign to the embedded RadTimeView control that acts as a popup to RadTimePicker:

PropertyDefault CSS ClassDescription
TimeStyleThe style for the selectable time values.
AlternatingTimeStyleThe style for every other selectable time value.
TimeOverStylercHoverThe style that is applied when the mouse hovers over a time value.
HeaderStylercHeaderThe style for the header region.
FooterStylercFooterThe style for the footer region.

RadInput Styles

The following table lists the styles that you can assign to the embedded RadInput control of RadTimePicker:

PropertyDefault CSS classDescription
EnabledStyleriEnabledThe style for the enabled input control.
DisabledStyleriDisabledThe style that is applied for the disabled input control.
EmptyMessageStyleriEmptyThe style when the value is not set and the input control does not have focus.
FocusedStyleriFocusedThe style when the input control has focus.
HoveredStyleriHoverThe style when the mouse hovers over the input control.
InvalidStyleriErrorThe style when the value of the input control is invalid.

The CSS class definitions for the embedded RadInput control are found in the Input CSS skin file rather than the Calendar CSS file.