How to set Navigations Buttons In MultipleView Mode

7 posts, 1 answers
  1. Ian
    Ian avatar
    22 posts
    Member since:
    Nov 2010

    Posted 03 Dec 2010 Link to this post

    Hi,

    Kindly help me with this...

    I set the RadCalendar control to...
    AllowMultipleView = true
    MultiViewColumns = 6
    MultiViewRows = 2

    Each time I click the Prev/Next button, the view jump to prev/next 12 months. How can I set the buttons to just move 1 month per click. I should maintain the settings above. Thanks.


    Kind regards,

    Ian
  2. Answer
    Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 09 Dec 2010 Link to this post

    Hi Ian,

    Thank you for writing.

    The navigation buttons navigate with the number of the months that are represented by the RadCalendar. Currently, there is no way to workaround this functionality. You are the first one who are looking for it. If more people ask for the same, we will consider adding this feature in our To-Do list.

    If you have other questions, feel free to contact us.

    Greetings,
    Dobry Zranchev
    the Telerik team
    Get started with RadControls for WinForms with numerous videos and detailed documentation.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ian
    Ian avatar
    22 posts
    Member since:
    Nov 2010

    Posted 09 Dec 2010 Link to this post

    Hi

    Thank you for your reply. I hope you will add this feature. We changed our controls from another 3rd party controls to Telerik controls. The other 3rd party calendar control have this feature. I'm just thinking that some of our clients might request this feature. Again, thank you very much.

    Kind regards, 

    Ian
  5. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 15 Dec 2010 Link to this post

    Hi Ian,

    Thank you for writing back.

    This feature request is added to our Public Issues Tracking System. You can vote for it here.

    If you have further questions, do not hesitate to contact us.

    Best wishes,
    Dobry Zranchev
    the Telerik team
    Get started with RadControls for WinForms with numerous videos and detailed documentation.
  6. Adam
    Adam avatar
    10 posts
    Member since:
    Nov 2010

    Posted 22 Nov 2011 Link to this post

    I am also looking for the same functionality.

    I can see that this has now been implemented for the 2011 Q3 release of the controls. 

    However, there is no mention in the documentation on how to achieve this functionality. 

    Can a code sample be provided?
  7. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 24 Nov 2011 Link to this post

    Hi Adam,

    Thank you for asking.

    We have resolved this by adding two new events to RadCalendar: Navigating and Navigated. Here is how you can use the Navigating event to customize the navigation steps:
    void radCalendar1_Navigating(object sender, Telerik.WinControls.UI.CalendarNavigatingEventArgs e)
    {
        if (e.Direction == Telerik.WinControls.UI.CalendarNavigationDirection.Forward && !e.IsFastNavigation)
        {
            e.StartDate = this.radCalendar1.CalendarElement.View.ViewStartDate.AddMonths(3);
        }
        else if (!e.IsFastNavigation)
        {
            e.StartDate = this.radCalendar1.CalendarElement.View.ViewStartDate.AddMonths(-3);
        }
    }

    We will consider adding this to our documentation.

    Should you have any further questions, feel free to ask.

    Greetings,
    Ivan Todorov
    the Telerik team

    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

  8. Adam
    Adam avatar
    10 posts
    Member since:
    Nov 2010

    Posted 24 Nov 2011 Link to this post

    Thanks for this code sample. Works as intended.
Back to Top
UI for WinForms is Visual Studio 2017 Ready