All day event title Format

2 posts, 0 answers
  1. Nitin Vikraman
    Nitin Vikraman avatar
    9 posts
    Member since:
    Apr 2010

    Posted 28 Apr 2010 Link to this post


        how to i set a different AppointmentTitleFormat for Alldayevent appointment and a normal appointment. I want to Show just AllDayEvent with "Subject" and normal appointment with "StartTime-EndTime Subject".

  2. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 30 Apr 2010 Link to this post

    Hello Nitin Vikraman,

    As a solution, you can do the following:

    1.  Subscribe to the AppointmentFormatting event of RadScheduler
    2.  In the event handler, set the ui appointment's TitleFormat property.

    if (e.Appointment.Duration.TotalDays >= 1)
        e.AppointmentElement.TitleFormat = "{2} {3}";
        e.AppointmentElement.TitleFormat = this.radScheduler.AppointmentTitleFormat;

    I hope this helps.

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