Setting visible date range in Monthview

11 posts, 0 answers
  1. esw00
    esw00 avatar
    14 posts
    Member since:
    Sep 2005

    Posted 09 Jan 2012 Link to this post

    How would I go about setting the current week as the first week that appears on the scheduler in monthview?  For example, today is January 9th, 2011.  I'd like the scheduler to display the current week as the first calendar row, so that the dates displayed begin at January 8th and end at Feb 11.  Essentially, I'd like to always see a full month of appointments ahead.

    I found a partial solution here which sets the start week in the correct place, but it simply eliminates rows rather than adjusting the range.  The drawback to this approach is that by the end of the month, you'd have a calendar with only one week on it. 
  2. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 12 Jan 2012 Link to this post

    Hello Eric,

    The idea of MonthView is to show the current month. Therefore, the requested scenario is not a currently supported by RadScheduler control. You could, however, still use the workaround suggested in the forum post you have pointed out. 

    All the best,
    Ivana
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. esw00
    esw00 avatar
    14 posts
    Member since:
    Sep 2005

    Posted 12 Jan 2012 Link to this post

    Unfortunately, as I indicated in my post, the workaround does not solve the problem.  The issue is that I need to *always* see the next 30 days of appointments.  Thanks for your response, though. 
  4. Casey
    Casey avatar
    299 posts
    Member since:
    Jul 2009

    Posted 14 Aug 2012 Link to this post

    I think that it would be a great improvement to the RadScheduler if you could specify what date you want the month view to start at, or even have a "Custom View" in addition to the views already provided. 

    That Custom View would enable the possibility to start showing the 5 weeks based off of a Week beginning/ending date selected by the user, for example, the user selects 8/12/2012. The would see from 8/12/2012 to 9/15/2012. I would think that this would meet a lot of customers' needs for a "month view" control, instead of limiting the selection to month, IE for August it would start on 07/29/2012 and end on 09/01/2012. 

    Please look into the possibility of adding this feature.

    Thanks!
    Casey
  5. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 15 Aug 2012 Link to this post

    Hi Casey,

    This might be a good enhancement to the current set of functionalities provided for RadScheduler indeed. I will forward this for further investigation to our development team. If it turns out that it can be achieved you may see it in the feature released of the control.

    Regards,
    Ivana
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Kevin
    Kevin avatar
    17 posts
    Member since:
    Jul 2012

    Posted 07 Nov 2012 Link to this post

    I was wondering on the monthview for a current month (like August 2012), could you show me in code behind how to get the 1st date of that month and the last date of that month? (8/1/2012 and 8/31/2012) Example: radscheduler1.selecteddate.mindate, something like this?  I needed it in my query string to pull schedules from my database as parameters.  thanks
  7. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 12 Nov 2012 Link to this post

    Hello Kevin,

    I would like to recommend you to use the following approach to achieve the described functionality:

    protected void Page_Load(object sender, EventArgs e)
       {
           if (RadScheduler1.SelectedView == SchedulerViewType.MonthView)
           {
               DateTime currentDate = RadScheduler1.SelectedDate;
               int days = DateTime.DaysInMonth(currentDate.Year, currentDate.Month);
               DateTime firstDate = new DateTime(currentDate.Year, currentDate.Month, 1);
               DateTime lastDate = new DateTime(currentDate.Year, currentDate.Month, days);
           }
       }

    Hope that this will lead you into the right direction.

    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  8. adnan
    adnan avatar
    2 posts
    Member since:
    Jun 2015

    Posted 06 Apr 2017 in reply to Casey Link to this post

    is there any update on custom view where we can start month view from today's date?

    is there any way where we can show more than 5 weeks in month view

  9. Vessy
    Admin
    Vessy avatar
    2067 posts

    Posted 11 Apr 2017 Link to this post

    Hi adnan,

    I am afraid that currently RadScheduler does support custom views and does not have any built-in functionality for controlling the weeks count/start date programmatically.

    Optionally, you can submit the requirements for them into our feedback portal so we can collect the overall interest over such functionality and prioritize them further:
    https://feedback.telerik.com/Project/108/Feedback/List/Feature%20Request


    Regards,
    Vessy
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  10. adnan
    adnan avatar
    2 posts
    Member since:
    Jun 2015

    Posted 26 May 2017 in reply to Ivana Link to this post

    Hi Ivana,

     

     is there any update on custom view for RadScheduler month view. where we can pick custom starting week.

    Thanks

    Adnan

  11. Vessy
    Admin
    Vessy avatar
    2067 posts

    Posted 31 May 2017 Link to this post

    Hi Adnan,

    RadScheduller still does not support custom month views as a feature request for such functionality has never been sumbitted in our portal.

    Please, feel free to submit a request, describing the needed functionalty and we will consider its implementation depending on the popularity of the item:
    https://feedback.telerik.com/Project/108


    Regards,
    Vessy
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top