Freelance Project Requests info@CodeDocu.de Software Development in C# WPF Asp.Net Core Vba Excel Word SQL-Server EF Linq, UWP Net
#

 

How to limit the time selection, the time frame of a Calendar object

 

Solution:

About the Min Max Optionen

    <div class="dx-field">

        <div class="dx-field-label">Date List</div>

        <div class="dx-field-value">

            @(Html.DevExtreme().DateBox()

                .DisplayFormat("MMM yyyy")

                .Value(DateTime.Now)

                .CalendarOptions(

                    options=>options.ZoomLevel(CalendarZoomLevel.Year)

                    .Max(DateTime.Today.AddMonths(6))

                    .Min(DateTime.Today.AddMonths(-6))

                )

            )

        </div>

    </div>

 

 

 

 

Asp.Net Core, MVC ; Asp.Net Core Controls DevExteme, DevExpress

Mobile

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de