Class
RadPicker

Represents the RadDate/DateTime/TimePicker for ASP.NET AJAX control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadPicker : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadPicker

Derived Classes: RadDatePickerRadMonthYearPickerRadTimePicker

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadPicker()

Initializes a new instance of the RadPicker class.

Declaration

cs-api-definition
public RadPicker()

RadPicker(Element)

Initializes a new instance of the RadPicker class.

Declaration

cs-api-definition
public RadPicker(Element element)

Parameters

element

Element

Properties

ClientSideLocator

The client-side locator of the picker.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

Culture

Gets the culture which the picker is using.

Declaration

cs-api-definition
public string Culture { get; }

Property Value

string

DateInput

Gets the Input part of the picker.

Declaration

cs-api-definition
public RadDateInput DateInput { get; }

Property Value

RadDateInput

DatePopUpButton

The date popup button of the picker.

Declaration

cs-api-definition
public HtmlAnchor DatePopUpButton { get; }

Property Value

HtmlAnchor

DateTimePattern

The DateTime pattern.

Declaration

cs-api-definition
protected virtual string DateTimePattern { get; }

Property Value

string

Enabled

Gets or sets whenther the picker is enabled.

Declaration

cs-api-definition
public bool Enabled { get; set; }

Property Value

bool

FocusedDate

Gets the focused date of the picker.

Declaration

cs-api-definition
public DateTime FocusedDate { get; }

Property Value

DateTime

InputTimeFormat

Gets the time format that the input is currently using.

Declaration

cs-api-definition
public string InputTimeFormat { get; }

Property Value

string

IsCalendarPopupVisible

Gets the visibility of the popup calendar.

Declaration

cs-api-definition
public bool IsCalendarPopupVisible { get; }

Property Value

bool

IsEmpty

Check whether the picker is empty.

Declaration

cs-api-definition
public bool IsEmpty { get; }

Property Value

bool

IsTimePopupVisible

Gets the visibility of the TimeView popup.

Declaration

cs-api-definition
public bool IsTimePopupVisible { get; }

Property Value

bool

LocatorExpression

Get the item locator FindParam.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

MaxDate

Gets the MaxDate of the picker.

Declaration

cs-api-definition
public DateTime MaxDate { get; }

Property Value

DateTime

MinDate

Gets the MinDate of the picker.

Declaration

cs-api-definition
public DateTime MinDate { get; }

Property Value

DateTime

PickerId

The id of the picker.

Declaration

cs-api-definition
public string PickerId { get; }

Property Value

string

PickerType

Gets the Picker control type.

Declaration

cs-api-definition
public RadPickerControlType PickerType { get; }

Property Value

RadPickerControlType

PopupDirection

Gets the direction in which the popup opens.

Declaration

cs-api-definition
public PopupDirection PopupDirection { get; }

Property Value

PopupDirection

PopupTimeFormat

Gets the TimeFormat that the TimeView is currently using.

Declaration

cs-api-definition
public string PopupTimeFormat { get; }

Property Value

string

SelectedDate

Gets the selected date of the picker.

Declaration

cs-api-definition
public DateTime SelectedDate { get; }

Property Value

DateTime

TimePopUpButton

The time popup button of the picker.

Declaration

cs-api-definition
public HtmlAnchor TimePopUpButton { get; }

Property Value

HtmlAnchor

Methods

AssignElement(Element)

Assign a base element for this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element associated with the control.

Overrides HtmlContainerControl.AssignElement(Element)

OpenCalendar()

Clicks on the button which opens the calendar.

Declaration

cs-api-definition
public void OpenCalendar()

OpenTimeView()

Clicks on the button which opens the TimeView.

Declaration

cs-api-definition
public void OpenTimeView()

SetSelectedDate(DateTime)

Sets date to the picker.

Declaration

cs-api-definition
public void SetSelectedDate(DateTime selectedDate)

Parameters

selectedDate

DateTime

The Date to be set.