Back to Devexpress

BootstrapCalendar Class

aspnetbootstrap-devexpress-dot-web-dot-bootstrap-08fc7ac4.md

latest3.3 KB
Original Source

BootstrapCalendar Class

Represents the calendar control.

Namespace : DevExpress.Web.Bootstrap

Assembly : DevExpress.Web.Bootstrap.v25.2.dll

NuGet Package : DevExpress.Web.Bootstrap

Declaration

csharp
[DXClientDocumentationProviderWeb("BootstrapCalendar")]
[ToolboxTabName("DX.25.2: Bootstrap Controls")]
public class BootstrapCalendar :
    ASPxCalendar,
    ISimpleRenderControl,
    IBootstrapEditorCssClassesOwner
vb
<ToolboxTabName("DX.25.2: Bootstrap Controls")>
<DXClientDocumentationProviderWeb("BootstrapCalendar")>
Public Class BootstrapCalendar
    Inherits ASPxCalendar
    Implements ISimpleRenderControl,
               IBootstrapEditorCssClassesOwner

Remarks

Note

The BootstrapCalendar control provides you with comprehensive client-side functionality implemented using JavaScript code:

The control’s client-side API is enabled if the ASPxEditBase.EnableClientSideAPI property is set to true, or the ASPxEditBase.ClientInstanceName property is defined, or any client event is handled.

Example

This example demonstrates the Calendar control with default settings.

  • Initialize a new instance of the BootstrapCalendar class.
  • Use the ASPxCalendar.SelectedDate property to specify the date selected by default.

The image below shows the result:

aspx
<dx:BootstrapCalendar runat="server" SelectedDate="1.1.2017">
</dx:BootstrapCalendar>

Inheritance

Show 11 items

Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxDataWebControlBase ASPxDataWebControl ASPxEditBase ASPxEdit ASPxCalendar BootstrapCalendar

See Also

BootstrapCalendar Members

DevExpress.Web.Bootstrap Namespace