ClassRadTimeView
Represents the RadDateTimePicker/RadTimePicker for ASP.NET AJAX TimeView control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadTimeView : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlRadTimeView
Inherited Members
Constructors
RadTimeView()
Initializes a new instance of the RadTimeView class.
Declaration
public RadTimeView()
RadTimeView(Element)
Initializes a new instance of the RadTimeView class.
Properties
ClientSideLocator
The client-side locator of the TimeView control.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
Culture
Gets the culture which the picker is using.
LocatorExpression
Get the item locator FindParam.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
TimeFormat
Gets the TimeFormat that the TimeView is currently using.
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The element.
Overrides
SelectTime(DateTime)
Simulates click on a time cell in the TimeView. The cell is identified by the given selected time, the current Culture and TimeFormat.
Declaration
public void SelectTime(DateTime selectedTime)
Parameters
selectedTime
The time to be selected.
SelectTime(DateTime, string, string)
Clicks on a time cell in the TimeView.
Declaration
public void SelectTime(DateTime selectedTime, string currentCulture, string currentTimeFormat)
Parameters
selectedTime
The time to be selected.
currentCulture
The culture whitch the TimeView is currently using.
currentTimeFormat
The time format whitch the TimeView is currently using.
SelectTime(string)
Simulates click on a time cell in the TimeView. The cell is identified by the given selected time string that is parsed with the help of the current Culture.
Declaration
public void SelectTime(string selectedTimeValue)
Parameters
selectedTimeValue
The time to be selected.