This is a migrated thread and some comments may be shown as answers.

Customize subject / remove details

1 Answer 68 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Phillip Foster
Top achievements
Rank 1
Phillip Foster asked on 13 May 2010, 04:01 PM
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?

1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 18 May 2010, 10:23 PM
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.
Tags
Scheduler and Reminder
Asked by
Phillip Foster
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Share this question
or