Can double-click to select month?

4 posts, 0 answers
  1. Higher
    Higher avatar
    7 posts
    Member since:
    Jan 2009

    Posted 21 Jun 2014 Link to this post

    MonthYearPicker Can double-click to select month?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 Jun 2014 in reply to Higher Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Higher
    Higher avatar
    7 posts
    Member since:
    Jan 2009

    Posted 23 Jun 2014 Link to this post

    Why don't you add to the control?
  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 23 Jun 2014 in reply to Higher Link to this post

    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.
Back to Top