How to display appointments count in each day of monthview in radscheduleview

5 posts, 0 answers
  1. Raja
    Raja avatar
    3 posts
    Member since:
    Apr 2011

    Posted 10 Jun 2011 Link to this post

    Hi,

    How to display appointments count in each day of monthview in radscheduleview?

    Please some one help to me

    Regards,
    Rajasekhar
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 13 Jun 2011 Link to this post

    Hello Raja,

    You can get all appointments for a certain period by using GetOccurrences method. If you loop through the AppointmentsSource of the ScheduleView and call this method for each appointment, you'll get the needed result. After that you will be able to count them and display them where is suitable for you.
    You can edit very easy the template of the ScheduleView with Expression Blend. Just drop a ScheduleView control on the design surface, right-click it and choose from the menu Edit Template -> Edit a Copy.

    Hope this information helps. Please let us know if you have further questions.

    All the best,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Ranjan
    Ranjan avatar
    38 posts
    Member since:
    Sep 2011

    Posted 22 Sep 2011 Link to this post

    Hello,
    I am facing same problem. I want to display no. of appointment count in monthview and detail appointments in dayview in ASP.Net AJAX Radschedular. Can you please provide me some example for doing this. Thanks in advance.
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 Sep 2011 Link to this post

    Hi Ranjan,

    You can use approach similar to the one found in this forum post -
    http://www.telerik.com/community/forums/aspnet-ajax/scheduler/adding-new-row-with-total-of-appointments.aspx#1454684

    In TimeSlotCreated, you can use - e.TimeSlot.Appointments.Count.


    Kind regards, Peter
    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
  5. Ranjan
    Ranjan avatar
    38 posts
    Member since:
    Sep 2011

    Posted 23 Sep 2011 Link to this post

    Thankyou very much Peter, its working.
Back to Top