hiding appointments in monthview

4 posts, 0 answers
  1. Ranjan
    Ranjan avatar
    38 posts
    Member since:
    Sep 2011

    Posted 29 Sep 2011 Link to this post

    Hi,
    I have a situation in which in case of monthview display only no. of appointment on that day and in dayview i have to show appointments. I have written code on OnTimeSlotCreated event for counting no. of appointments and it works fine, but appointments is also display in monthview. How can i only display no. of appointments on that day not actual appointments.
  2. Andy
    Andy avatar
    31 posts
    Member since:
    Nov 2010

    Posted 12 Jul 2012 Link to this post

    Any update on this question?  I'm trying to do a similar thing.
  3. Robert Helm
    Robert Helm avatar
    54 posts
    Member since:
    Feb 2009

    Posted 12 Jul 2012 Link to this post

    Can set the VIsibleAppointmentsPerDay = 0?

    So you'd have something like:

        <telerik:RadScheduler...
        ...
        <MonthView VisibleAppointmentsPerDay="0">
        </telerik:RadScheduler>
        

    I think this shows a "more..." message the user can click on that switches to Week view after the click.
  4. Andy
    Andy avatar
    31 posts
    Member since:
    Nov 2010

    Posted 12 Jul 2012 Link to this post

    Thanks for the info about this property.

    For those interested I also figured out a way to remove the more.. link and other empty space in the month view timeslot.
    in the onTimeSlotCreated Event I set the visible property.  You can also use this event to add your own custom info such as count of appointments into the timeslot.

    if (rsVisitScheduler.SelectedView == SchedulerViewType.MonthView)
     {

    e.TimeSlot.Control.Controls[1].Visible = false;
    e.TimeSlot.Control.Controls[2].Visible = false;
    e.TimeSlot.Control.Controls[3].Visible = false;
    }
Back to Top