CalendarPopupButton
The control that toggles the calendar popup. You can customize the appearance by setting the object's properties.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class CalendarPopupButton : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, ICustomTypeDescriptor
Inheritance: objectControlWebControlCalendarPopupButton
Derived Classes:
Implements:
Inherited Members
Constructors
protected CalendarPopupButton()
Fields
protected RadMonthYearPicker monthYearOwner
protected RadDatePicker owner
Properties
Gets or sets the access key that allows you to quickly navigate to the Web server control.
public override string AccessKey { get; set; }
The access key for quick navigation to the Web server control. The default value is Empty, which indicates that this property is not set.
Exceptions: ArgumentOutOfRangeExceptionThe specified access key is neither null, Empty nor a single character string.
Overrides:
Gets or sets the border style of the Web server control.
public override BorderStyle BorderStyle { get; set; }
One of the BorderStyle enumeration values. The default is NotSet.
Overrides:
Gets or sets the border width of the Web server control.
public override Unit BorderWidth { get; set; }
A Unit that represents the border width of a Web server control. The default value is Empty, which indicates that this property is not set.
Exceptions: ArgumentExceptionThe specified border width is a negative value.
Overrides:
Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
public override string CssClass { get; set; }
The CSS class rendered by the Web server control on the client. The default is Empty.
Overrides:
Gets or sets a value indicating whether the Web server control is enabled.
public override bool Enabled { get; set; }
true if control is enabled; otherwise, false. The default is true.
Overrides:
Gets or sets a value indicating whether themes apply to this control.
public override bool EnableTheming { get; set; }
true to use themes; otherwise, false. The default is true.
Exceptions: InvalidOperationExceptionThe Page_PreInit event has already occurred.- or -The control has already been added to the Controls collection.
Overrides:
Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
public override bool EnableViewState { get; set; }
true if the server control maintains its view state; otherwise false. The default is true.
Overrides:
Gets the font properties associated with the Web server control.
public override FontInfo Font { get; }
A FontInfo that represents the font properties of the Web server control.
Overrides:
Gets or sets the height of the Web server control.
public override Unit Height { get; set; }
A Unit that represents the height of the control. The default is Empty.
Exceptions: ArgumentExceptionThe height was set to a negative value.
Overrides:
Gets or sets the popup button hover image URL.
public virtual string HoverImageUrl { get; set; }
Gets or sets the programmatic identifier assigned to the server control.
[Browsable(false)]
public override string ID { get; set; }
The programmatic identifier assigned to the control.
Overrides:
Gets or sets the popup button image URL.
public virtual string ImageUrl { get; set; }
protected Image PopupImage { get; }
Gets or sets the skin to apply to the control.
public override string SkinID { get; set; }
The name of the skin to apply to the control. The default is Empty.
Exceptions: ArgumentExceptionThe skin specified in the SkinID property does not exist in the theme.
Overrides:
Gets or sets the tab index of the Web server control.
public override short TabIndex { get; set; }
The tab index of the Web server control. The default is 0, which indicates that this property is not set.
Exceptions: ArgumentOutOfRangeExceptionThe specified tab index is not between -32768 and 32767.
Overrides:
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Gets or sets the text displayed when the mouse pointer hovers over the Web server control.
public override string ToolTip { get; set; }
The text displayed when the mouse pointer hovers over the Web server control. The default is Empty.
Overrides:
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
public override bool Visible { get; set; }
true if the control is visible on the page; otherwise false.
Overrides:
Gets or sets the width of the Web server control.
public override Unit Width { get; set; }
A Unit that represents the width of the control. The default is Empty.
Exceptions: ArgumentExceptionThe width of the Web server control was set to a negative value.
Overrides:
Methods
protected virtual void AddAriaAttributesToRender(HtmlTextWriter writer)
protected override void AddAttributesToRender(HtmlTextWriter writer)
Overrides:
protected override void CreateChildControls()
Overrides:
Returns a collection of custom attributes for this instance of a component.
public AttributeCollection GetAttributes()
An AttributeCollection containing the attributes for this object.
Implements:
Returns the class name of this instance of a component.
public string GetClassName()
The class name of the object, or null if the class does not have a name.
Implements:
Returns the name of this instance of a component.
public string GetComponentName()
The name of the object, or null if the object does not have a name.
Implements:
Returns a type converter for this instance of a component.
public TypeConverter GetConverter()
A TypeConverter that is the converter for this object, or null if there is no TypeConverter for this object.
Implements:
Returns the default event for this instance of a component.
public EventDescriptor GetDefaultEvent()
An EventDescriptor that represents the default event for this object, or null if this object does not have events.
Implements:
Returns the default property for this instance of a component.
public PropertyDescriptor GetDefaultProperty()
A PropertyDescriptor that represents the default property for this object, or null if this object does not have properties.
Implements:
Returns an editor of the specified type for this instance of a component.
Returns the events for this instance of a component.
public EventDescriptorCollection GetEvents()
An EventDescriptorCollection that represents the events for this component instance.
Implements:
Returns the events for this instance of a component using the specified attribute array as a filter.
public EventDescriptorCollection GetEvents(Attribute[] attributes)
An array of type Attribute that is used as a filter.
Returns:An EventDescriptorCollection that represents the filtered events for this component instance.
Implements:
Returns the properties for this instance of a component.
public PropertyDescriptorCollection GetProperties()
A PropertyDescriptorCollection that represents the properties for this component instance.
Implements:
Returns the properties for this instance of a component using the attribute array as a filter.
public PropertyDescriptorCollection GetProperties(Attribute[] attributes)
An array of type Attribute that is used as a filter.
Returns:A PropertyDescriptorCollection that represents the filtered properties for this component instance.
Implements:
Returns an object that contains the property described by the specified property descriptor.
public object GetPropertyOwner(PropertyDescriptor pd)
A PropertyDescriptor that represents the property whose owner is to be found.
Returns:An object that represents the owner of the specified property.
Implements:
protected virtual void UpdateHoverImage()