Customize subject / remove details

2 posts, 0 answers
  1. Phillip Foster
    Phillip Foster avatar
    58 posts
    Member since:
    Apr 2010

    Posted 13 May 2010 Link to this post

    I know i saw this somewhere and now i can't find it.

    I don't want to show the Description or the location on the appointment from the day view. 

    I just want time, subject.

    How can i change this?
  2. Dobry Zranchev
    Dobry Zranchev avatar
    348 posts

    Posted 18 May 2010 Link to this post

    Hi Phillip Foster,

    Thank you for writing.

    Please subscribe for the AppointmentFormatting event of the scheduler:
    this.radScheduler1.AppointmentFormatting += new EventHandler<Telerik.WinControls.UI.SchedulerAppointmentEventArgs>(radScheduler1_AppointmentFormatting); 
    and set the AppointmentDescription and AppointmentLocation properties of the AppointmentElement to an empty string:
    void radScheduler1_AppointmentFormatting(object sender, Telerik.WinControls.UI.SchedulerAppointmentEventArgs e)
    e.AppointmentElement.AppointmentDescription = string.Empty;
    e.AppointmentElement.AppointmentLocation = string.Empty;
    I hope this will help.

    If you have other questions feel free to contact us.

    Kind regards,
    Dobry Zranchev
    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. DevCraft banner
Back to Top