All Day Appointment

4 posts, 0 answers
  1. Radu
    Radu avatar
    2 posts
    Member since:
    Feb 2009

    Posted 17 Nov 2009 Link to this post

    Hello,

    I have a problem with the All Day Appointment view.
    I use the Scheduler on a page only for All Day Appointments. On Week view, if a couple appointments are distributed on visible days, they are not aligned to the top of the cell. They align to the top only for the first day of the view. The rest of appointments are shown below the last appointment of the first day of the view.
    Can you please tell me how to align all of them to the top?

    Thank you.
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 20 Nov 2009 Link to this post

    Hi Radu,

    The current appointment's layout in the all day area in RadScheduler positions every new appointment to a single row. This means that you will have as many rows in the all day area as many appointments you have.

    For example:

    Let's have three all day appointments in three different days:

    Day1                              Day2                           Day3
    Appointment1            Appointment2            Appointment3

    The current layout is the following:

    Day1                              Day2                           Day3
    Appointment1 
                                          Appointment2         
                                                                                Appointment3


    Unfortunately, this logic is built-in the RadScheduler and there is no available workaround. However we will revisit this logic for the next release and the layout logic will be as expected.

    If you are using only the all day area of the scheduler, I can suggest using the MonthView instead. MonthView has a property named WeekCount and you can specify the WeekCount to 1 i.e you will be able to simulate the behavior of the AllDayArea. The benefit of using the MonthView in this scenario will be that the MonthView's layout is much more advanced than the AllDayHeader's one. 

    If you have any other questions, please contact me again.
     

    Regards,
    Boyko Markov
    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.
  3. Radu
    Radu avatar
    2 posts
    Member since:
    Feb 2009

    Posted 27 Nov 2009 Link to this post

    Thank you for your idea, it worked great.
    I have one small question. For an All Day Appointment I have changed the AppointmentTitleFormat to satisfy my needs, but I need to resize the cell representing the Appointment to expand on three rows, not just one.
    For example: radScheduler1.AppointmentTitleFormat = "First Row:{2} \r\n  Second Row:({3}) \r\n  3rd Row:{4}";
    How can this title be displayed on three separate rows?

    Thank you
  4. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 30 Nov 2009 Link to this post

    Hi Radu,

    1. There is no way to resize cells in RadScheduler. You can only resize the appointment elements ( vertically in the case of DayView, WeekView, WorkWeeView and horizontally in the case of MonthView)

    2. The AppointmentTitleFormat property specifies the text formatting of the element which visually represents an Appointment. For example, you can change the text formatting to specify that an appointment's subject, location, start and end time are displayed in separate rows.

    this.radScheduler.AppointmentTitleFormat = "{0} \n {1} \n {2} \n {3}";

    Please contact me again if you need more information.     

    Sincerely yours,
    Boyko Markov
    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.
Back to Top