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

Different form of horizontal Appointment

2 Answers 67 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Lucie
Top achievements
Rank 1
Lucie asked on 21 Feb 2012, 01:37 PM

I have displayed Subject and on next line Body in vertical Appointment.

I need to display Body on the same line after Subject for AllDay Appointments in AllDayArea and also in MonthView and TimeLineView for Appointment which last one and more days.

E.g. there is enough space to display information on one line.

 

Is it possible and how? (In examples are showed changes only for background color.)

 

Regards

2 Answers, 1 is accepted

Sort by
0
Lucie
Top achievements
Rank 1
answered on 22 Feb 2012, 08:57 AM
I have tried to find something about using AppointmentItemContentTemplateSelector but not success.
Is there something in documentation or is there live sample code?

Regards
0
Yana
Telerik team
answered on 24 Feb 2012, 04:08 PM
Hi Jana,

This is correct - you should use AppointmentItemContentTemplateSelector  - in SelectTemplate method you can set different template for different ViewDefinitions. I've attached an example to demonstrate the approach.

Hope this helps.

Greetings,
Yana
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ScheduleView
Asked by
Lucie
Top achievements
Rank 1
Answers by
Lucie
Top achievements
Rank 1
Yana
Telerik team
Share this question
or