Month/Year picker

Thread is closed for posting
5 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 21 May 2007 Link to this post

    Requirements

    RadCalendar for ASP .NET version


    RadControls for ASP .NET AJAX version

    2.1.0 and later



    2008.1.415 and later


    .NET version

    2.0 (RadCalendar for ASP .NET)


    2.0 and later (RadControls for ASP .NET AJAX)

    Visual Studio version

    2005/2008 (RadCalendar for ASP .NET)


    2005 and later(RadControls for ASP .NET AJAX)

    Programming language Javascript
    Browser support

    all supported by RadCalendar for ASP .NET


    all browsers supported by RadControls for ASP .NET AJAX


     
    PROJECT DESCRIPTION

    The project demonstrates how the RadDatePicker can be customized to a month/year picker using the FastNavigation component. This behavior is achieved as on the onload event handler of the window element we predefine the following events of the picker components:
    • onclick event of the popup button to show the FastNavigation component under the picker textbox and synchronize its date if there is selected one in the DateInput component;
    • onclick event of the FastNavigation ok button to set the selected date of the DateInput component to be the current date and hide the FastNavigation popup.
    • onclick event of the FastNavigation today button to synchrorize the DateInput date with the selected one and hide the FastNavigation popup.
  2. 3BD6F94B-4C03-46D3-8568-9982F1F201BF
    3BD6F94B-4C03-46D3-8568-9982F1F201BF avatar
    10940 posts
    Member since:
    May 2014

    Posted 04 Dec 2007 Link to this post

    Hello guys,

    I just modified the example in the code library to work with the Prometheus version of RadCalendar as well. The change was needed, because Prometheus controls implement the new MS AJAX client-side object model. The main change in the example except the get_/set_ properties is the new way to assign a handler using the    $clearHandlers(picker.get_PopupButton()); and $addHandler(picker.get_PopupButton(), "click", function() {..}); shortcuts.

    Sincerely yours,
    Steve
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. 55399722-08F4-4C16-B02F-AF2E96DF6AC2
    55399722-08F4-4C16-B02F-AF2E96DF6AC2 avatar
    4949 posts
    Member since:
    Jan 2017

    Posted 13 Jul 2009 Link to this post

    Hello,

    Please note that we updated the code-library to replace the obsolete methods/properties that will be removed after RadControls for ASP.NET AJAX Q2 2009.

    Best regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  4. 2D95F235-B3CE-414A-BD6E-7B2E8B7CF5CD
    2D95F235-B3CE-414A-BD6E-7B2E8B7CF5CD avatar
    8486 posts
    Member since:
    Apr 2023

    Posted 17 Sep 2009 Link to this post

    Here is an updated and improved version of monthyearpicker-update2.zip. It has the following issues fixed:

    1) Fast Navigation popup position not correct if the page is scrolled.
    2) When the user clicks on the picker popup button, the scroll position is reset to top if the page is scrolled.

    Regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. A1CE16C4-4C2E-464E-BF18-532525D276CA
    A1CE16C4-4C2E-464E-BF18-532525D276CA avatar
    5948 posts
    Member since:
    Apr 2022

    Posted 19 Jun 2018 Link to this post

    Here's an updated example that replaces the obsolete picker.getElementPosition method with $telerik.getLocation to avoid errors.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.