Skip to content

Commit 7dc44ef

Browse files
committed
docs(daterangepicker): update server-side api
1 parent b5c33e2 commit 7dc44ef

File tree

4 files changed

+505
-0
lines changed

4 files changed

+505
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Telerik.Web.UI.Calendar.DateRangePickerClientEvents
3+
page_title: Telerik.Web.UI.Calendar.DateRangePickerClientEvents
4+
description: Telerik.Web.UI.Calendar.DateRangePickerClientEvents
5+
---
6+
7+
# Telerik.Web.UI.Calendar.DateRangePickerClientEvents
8+
9+
Summary description for DatePickerClientEvents.
10+
See http://docs.telerik.com/devtools/aspnet-ajax/controls/daterangepicker/client-side-programming/events/overview.html Client Eventsfor more information.
11+
12+
## Inheritance Hierarchy
13+
14+
* System.Object
15+
* Telerik.Web.UI.ObjectWithState
16+
* Telerik.Web.UI.Calendar.DateRangePickerClientEvents
17+
18+
## Properties
19+
20+
### OnDateSelected `String`
21+
22+
Gets or sets the name of the client-side event handler that is executed whenever
23+
the selected date of the datepicker is changed.
24+
25+
### OnPopupClosing `String`
26+
27+
Gets or sets the name of the client-side event handler that is executed prior to
28+
closing the calendar popup.
29+
30+
#### Remarks
31+
There can be some conditions you do want not to close the calendar popup on
32+
click over it. Then you should cancel the event either by return false; or
33+
set its argument args.CancelClose = true;
34+
<script type="text/javascript">function Closing(sender, args){ args.CancelClose = true; //or return false;}</script><radCln:RadDatePicker ID="RadDatePicker1" runat="server"> <ClientEvents OnPopupClosing="Closing"/></radCln:RadDatePicker>
35+
36+
### OnPopupOpening `String`
37+
38+
Gets or sets the name of the client-side event handler that is executed prior to
39+
opening the calendar popup and its synchronizing with the DateInput value.
40+
41+
#### Remarks
42+
There can be some conditions you do want not to open the calendar popup on
43+
click of the popup button. Then you should cancel the event either by return
44+
false; or set its argument args.CancelOpen = true;
45+
<script type="text/javascript">function Opening(sender, args){ args.CancelOpen = true; //or return false;}</script><radCln:RadDatePicker ID="RadDatePicker1" runat="server"> <ClientEvents OnPopupOpening="Opening"/></radCln:RadDatePicker>
46+
Set the args.CancelSynchronize = true; to override the default
47+
DatePicker behavior of synchronizing the date in the DateInput and Calendar
48+
controls. This is useful for focusing the Calendar control on a date different from
49+
the DateInput one.
50+
<script type="text/javascript">function Opening(sender, args){ args.CancelCalendarSynchronize = true; sender.Calendar.NavigateToDate([2006,12,19]);}</script><radCln:RadDatePicker ID="RadDatePicker1" runat="server" > <ClientEvents OnPopupOpening="Opening"/></radCln:RadDatePicker>
51+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Telerik.Web.UI.Calendar.RangeSelectionChangedEventArgs
3+
page_title: Telerik.Web.UI.Calendar.RangeSelectionChangedEventArgs
4+
description: Telerik.Web.UI.Calendar.RangeSelectionChangedEventArgs
5+
---
6+
7+
# Telerik.Web.UI.Calendar.RangeSelectionChangedEventArgs
8+
9+
Provides data for the RangeSelectionChanged event of the DateRangePicker control.
10+
11+
## Inheritance Hierarchy
12+
13+
* System.Object
14+
* System.EventArgs
15+
* Telerik.Web.UI.Calendar.RangeSelectionChangedEventArgs
16+
17+
## Properties
18+
19+
### EndDate `Nullable`1`
20+
21+
Gets the newly selected end date.
22+
23+
### StartDate `Nullable`1`
24+
25+
Gets the new selected start date.
26+

Diff for: api/server/Telerik.Web.UI/RadCalendar.md

+4
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,10 @@ Returns whether RadCalendar is currently in design mode.
591591

592592
For internal use.
593593

594+
### KeyboardNavigationSettings `KeyboardNavigationSettings`
595+
596+
Used to define keyboard shortcut to focus the RadCalendar's main table.
597+
594598
### LocalizationPath `CalendarStrings`
595599

596600
Gets or sets a value indicating where RadCalendar will look for its .resx localization file.

0 commit comments

Comments
 (0)