Skip to content

Commit

Permalink
Merge pull request #2836 from telerik/martinivanoff/m-daterangepicker…
Browse files Browse the repository at this point in the history
…-fixes

DateRangePicker: Docs fixes based on the design changes and general f…
  • Loading branch information
martinivanoff authored Mar 11, 2024
2 parents cfea556 + 3ee7602 commit e8fe64d
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions controls/raddaterangepicker/formatting-text-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ __Custom date patterns__

The `DatePattern` doesn't support formats for abbreviated days (ddd, dddd) and months (MMM, MMMM).

If the `DatePattern` cannot correctly parse the date, the `Culture` settings are used.

## See Also
* [Customizing Appearance]({%slug raddaterangepicker-customizing-appearance%})
* [Getting Started]({%slug raddaterangepicker-getting-started%})
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion controls/raddaterangepicker/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ DateRangePicker_Last30Days | Last 30 Days
DateRangePicker_Last7Days | Last 7 Days
DateRangePicker_LastMonth | Last Month
DateRangePicker_LastYear | Last Year

DateRangePicker_StartDate | Start Date
DateRangePicker_EndDate | End Date

## See Also
* [Getting Started]({%slug raddaterangepicker-getting-started%})
Expand Down
4 changes: 3 additions & 1 deletion controls/raddaterangepicker/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ The DateRangePicker component allows you to easily enrich your UI with a tool fo

* __Blackout dates__—This features can be used to disable a set of dates which cannot be selected.

* __Customizable input element__—The DateRangePicker control allows you to customize the format and placeholders of the input area.
* __Customizable input element__—The DateRangePicker control allows you to customize the formatting, the empty content and the placeholders of the input area.

* __Customizable calendars__—The control has a set of two calendars that show the current and next month or year, which can be customized via number of properties of the control.

* __Customizable list of predefined date ranges__—The list with the predefined date ranges allows the end user to easily select a range.

>tip Get started with the control with its [Getting Started]({%slug raddaterangepicker-getting-started%}) help article that shows how to use it in a basic scenario.
>Check out the DateRangePicker demos at: [https://demos.telerik.com/wpf/](https://demos.telerik.com/wpf/)
Expand Down
6 changes: 3 additions & 3 deletions controls/raddaterangepicker/programmatic-selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ The dates available for selection can be limited via the `SelectableDateStart` a

#### __[XAML] Setting the selection range in XAML__
{{region raddaterangepicker-programmatic-selection-0}}
<telerik:RadDateRangePicker SelectableDateStart="2024/1/19" SelectableDateEnd="2024/2/5" />
<telerik:RadDateRangePicker SelectableDateStart="2024/3/7" SelectableDateEnd="2024/3/27" />
{{endregion}}

#### __[XAML] Setting the selection range in C#__
{{region raddaterangepicker-programmatic-selection-1}}
this.dateRangePicker.SelectableDateStart = new DateTime(2024, 1, 19);
this.dateRangePicker.SelectableDateEnd = new DateTime(2024, 2, 5);
this.dateRangePicker.SelectableDateStart = new DateTime(2024, 3, 7);
this.dateRangePicker.SelectableDateEnd = new DateTime(2024, 3, 27);
{{endregion}}

![Picture showing WPF RadDateRangePicker with a limited range of selectable dates](images/raddaterangepicker-programmatic-selection-1.png)
Expand Down

0 comments on commit e8fe64d

Please sign in to comment.