BootstrapCalendar Class
In This Article
Represents the calendar control.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
NuGet Package: DevExpress.Web.Bootstrap
#Declaration
[DXClientDocumentationProviderWeb("BootstrapCalendar")]
[ToolboxTabName("DX.24.2: Bootstrap Controls")]
public class BootstrapCalendar :
ASPxCalendar,
ISimpleRenderControl,
IBootstrapEditorCssClassesOwner
#Remarks
Note
The Bootstrap
- The control’s client-side equivalent is represented by the Bootstrap
Client object.Calendar - On the client side, the client object can be accessed directly by the name specified via the ASPx
Edit property.Base. Client Instance Name - The available client events can be accessed by using the ASPx
Calendar. property.Client Side Events
The control’s client-side API is enabled if the ASPx
#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:
<dx:BootstrapCalendar runat="server" SelectedDate="1.1.2017">
</dx:BootstrapCalendar>
#Inheritance
See Also