Trusted by the world’s leading companies
Overview
The ASP.NET Core Date Range Picker is a lightweight and mobile-friendly component that allows end users to select start and end date values as a range from a calendar pop-up or by entering values directly in the HTML input text box.
Why choose Syncfusion ASP.NET Core DateRangePicker?
Customizable date formats
The ASP.NET Core DateRangePicker component’s input value can be customized in addition to the default culture-specific date format.
Preset range
Define preset ranges (like last 30 days or last week) to set date ranges frequently used by the end users.
Adapts to any resolution
The Date Range Picker has a highly responsive layout and an optimized design for desktops, touch screens, and smart phones. It works well on all mobile phones that use iOS, Android, or Windows OS.
Specific date restrictions
Restricts dates outside the min and max date ranges, allowing only valid dates to be entered. Users cannot enter or choose restricted dates.
Attractive customizable themes
Cutting edge design with 5+ built-in themes such as Fluent, Tailwind CSS, Bootstrap, Material, Fabric, and more. Utilize the online Theme Studio tool to customize themes of Date Range Picker easily.
Globalization and localization
Enables users from different locales to use the DateRangePicker by formatting dates, currency, and numbering to suit preferences.
ASP.NET Core DateRangePicker Code Example
Easily get started with the ASP.NET Core DateRangePicker using a few simple lines of CSHTML and C# code example as demonstrated below. Also explore our ASP.NET Core DateRangePicker Example that shows you how to render and configure a DateRangePicker in ASP.NET Core.
@using Syncfusion.EJ2
@section ControlsSection{
<div class=" control-section">
<div id="wrapper" class="daterangepicker-section">
<div id="daterangepicker-control">
<ejs-daterangepicker id="daterangepicker" placeholder="Choose a Range"></ejs-daterangepicker>
</div>
</div>
</div>
}using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers
{
public partial class DateRangePickerController: Controller
{
// GET: /<controller>/
public IActionResult DefaultFunctionalities()
{
return View();
}
}
}DateRangePicker with multiple language
The ASP.NET Core DateRangePicker supports globalization to translate the names of months, days, and the today button text to any supported language. The date format and first day of the week are set to a specific culture.
Date selection within a range
Enter or select a date within a specific range of dates by defining the min and max properties.
Date-range validation
Allow only valid values to be entered in the DateRangePicker control’s input by validating them with disabled or out-of-min and out-of-max date ranges. The invalid and out-of-date-range values are set in a disabled state to prevent users from entering them or selecting them from a date range.
Customize DateRangePicker
Control the appearance of the component. Customize the style based on your application’s look and feel. Also change the format of the day that to be displayed in header.
Week numbers
Show the week numbers in the pop-up calendar.
First day of week
Change the first day of the week in every month of a year.
Accessibility
Keyboard navigation
The ASP.NET Core DateRangePicker control ensures that every cell is accessible using the keyboard. Major features like sort, select, and edit can be performed using keyboard commands alone; no mouse interaction is required. This helps in creating highly accessible applications using this control.
Screen reader
The ASP.NET Core DateRangePicker view has complete WAI-ARIA accessibility support. The DateRangePicker UI includes high-contrast visual elements that help visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.
Right to left (RTL)
Right-to-left rendering allows displaying the text and layout of the DateRangePicker from right to left. This improves the user experience and accessibility for RTL languages.
Other supported frameworks
The DateRangePicker is available for the Blazor, React, Angular, JavaScript, Vue, and ASP.NET MVC frameworks. Explore its platform-specific options through the following links:
Supported browsers
The ASP.NET Core Date Range Picker works well with all modern web browsers, including Chrome, Firefox, Edge, Safari, and Opera.
Not sure how to create your first ASP.NET Core DateRangePicker? Our documentation can help.
I’d love to read it now140+ ASP.NET CORE UI CONTROLS
Frequently Asked Questions
Why should you choose Syncfusion ASP.NET Core DateRangePicker?
An advanced DateRangePicker component with highly customizable options.
Provides month range picker option.
A rich feature set including spans of days, range restriction, predefined dates (like last 30 days), validation, and automatic formatting takes this component to the next level of usage.
- One of the best ASP.NET Core DateRangePicker in the market that offers feature-rich UI to interact with the software.
Simple configuration and API.
- Supports all modern browsers.
- Mobile-touch friendly and responsive.
Expansive learning resources such as demos and documentation to learn quickly and get started with ASP.NET Core DateRangePicker.
Where can I find the Syncfusion ASP.NET Core DateRangePicker demo?
You can find our ASP.NET Core DateRangePicker demo, which demonstrates how to render and configure the Date Range Picker.
Can I download and utilize the Syncfusion ASP.NET Core DateRangePicker for free?
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
How do I get started with Syncfusion ASP.NET Core DateRangePicker?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
Here are some of their experiences.
Awards
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.