This is a migrated thread and some comments may be shown as answers.

Can double-click to select month?

3 Answers 31 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Higher
Top achievements
Rank 1
Higher asked on 21 Jun 2014, 11:27 PM
MonthYearPicker Can double-click to select month?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 Jun 2014, 03:38 AM
Hi,

Please try the below JavaScript code snippet which will select the month by clicking on that. 

JavaScript:
function OnMonthSelected(sender, eventargs) {
    var month = eventargs.get_newDate();
    sender.set_selectedDate(month);
    sender.hidePopup()
}

Let me know if you have any concern.
Thanks,
Princy.
0
Higher
Top achievements
Rank 1
answered on 23 Jun 2014, 11:06 AM
Why don't you add to the control?
0
Princy
Top achievements
Rank 2
answered on 23 Jun 2014, 11:57 AM
Hi,

Please take  a look into the ASPX of the above posted code.

ASPX:
<telerik:RadMonthYearPicker ID="rmonthyearpickerSelectMonth" runat="server" ClientEvents-OnMonthSelected="OnMonthSelected">
</telerik:RadMonthYearPicker>

Thanks,
Princy.
Tags
Calendar
Asked by
Higher
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Higher
Top achievements
Rank 1
Share this question
or