A newer version of this page is available. Switch to the current version.

BootstrapCalendar Class

Represents the calendar control.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[ToolboxTabName("DX.18.2: Bootstrap Controls")]
[DXClientDocumentationProviderWeb("BootstrapCalendar")]
public class BootstrapCalendar :
    ASPxCalendar,
    ISimpleRenderControl,
    IBootstrapEditorCssClassesOwner
<ToolboxTabName("DX.18.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 (see DevExpress.Web.Bootstrap.Scripts to learn more):

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.

Examples

This example demonstrates the Calendar control with default settings.

The image below shows the result:

BootstrapCalendar_Overview

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