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

Timeline view: appointment assuming different colors on different slot

9 Answers 55 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jean-Marc
Top achievements
Rank 1
Jean-Marc asked on 23 May 2012, 03:21 PM
I guess this question was asked in this thread which has a help link expired

I have a timeline view, one slot each day.
Let's say there's an appointment that last 7 days. I would like, programmatically, to have it coloured blue for the first 4 days and red the remaing 3 days (better, setting css style), is it possible?
Thank you

9 Answers, 1 is accepted

Sort by
0
Jean-Marc
Top achievements
Rank 1
answered on 24 May 2012, 01:24 PM
anyone?
0
Peter
Telerik team
answered on 24 May 2012, 09:33 PM
Hello Jean-Marc,

Yes, this is possible. Please, see the Customizing the Time Slots demo or the Setting special days or time slots in RadScheduler kb article.


Regards, Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jean-Marc
Top achievements
Rank 1
answered on 25 May 2012, 08:17 AM
No, I don't want to have different stile in timeline slot. I want to know if it is possible to have different style within an appointment that lay on some slots.
0
Kate
Telerik team
answered on 25 May 2012, 03:27 PM
Hi Jean-Marc,

Yes, you can set the styles for the different appointments as explained in the following help topic: http://www.telerik.com/help/aspnet-ajax/scheduler-appearance-setting-appointment-style.html

Kind regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jean-Marc
Top achievements
Rank 1
answered on 25 May 2012, 04:11 PM
I can not explain myself...
i'm not looking for how to get different colors for different apppointements...
I need, for ONE appointement, to colour it in different style depending on which slot it lays. if possible

example:
my appointement start date: 1/6/2012
my appointement end date: 4/6/2012

1/6/2012 appoitement coloured of red
2/6/2012 appoitement coloured of yellow
3/6/2012 appoitement coloured of blue
4/6/2012 appoitement coloured of white
0
Jean-Marc
Top achievements
Rank 1
answered on 28 May 2012, 08:31 AM
It's quite urgent, what can i do?
0
Kate
Telerik team
answered on 28 May 2012, 10:45 AM
Hello Jean-Marc,

Thank you for clarifying. In general when you have a multiday appointment (as in the attached image), the appointment itself renders as a div element  that can not be divided in separate slots so you can style them. However, if you create a recurring appointment you can achieve the desired look. For instance, using the server side AppointmentCreated event you can add your logic (you could check by date for instance) and apply different colors as described in the article that I previously suggested.

Greetings,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jean-Marc
Top achievements
Rank 1
answered on 28 May 2012, 11:41 AM
thank you Kate
may I ask you if you can please take care of the other argument I asked?
0
Kate
Telerik team
answered on 29 May 2012, 09:29 AM
Hi Jean-Marc,

I notice that my colleague has already answered your post. Please note that if you need a timely response it is better to open a support ticket as Plamen has mentioned. 

Greetings,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Jean-Marc
Top achievements
Rank 1
Answers by
Jean-Marc
Top achievements
Rank 1
Peter
Telerik team
Kate
Telerik team
Share this question
or