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

Fit Appointment Template Text inside RadScheduler Appointment

2 Answers 101 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Tofan
Top achievements
Rank 1
Tofan asked on 07 Feb 2014, 12:48 PM
I have an Appointment that has a variable size(depending between the start date and end date). I also have some text that was displayed from my RadScheduler Appointment Template. I want to have my text to fit always each of my Appointments size. Can it be done and if so how? An example or some detail please, i'm not expert with RadScheduler. TIP_PROGRAMARE,TIP_APARATURA,TIP_STERILIZARE,NUME_ECHIPAMENT,NUME_OPERATIE is part of my RadScheduler CustomAttributeNames. Please help and thank you for your time and advice.

My Appointment Template is:

                    <AppointmentTemplate>
                        <div style="font-style: italic; width: 100%">
                            Subiect:
                            <%# Eval("Subject") %></div>
                        <div style="font-style: italic; width: 100%;">
                            Tip Programare:
                            <%# Eval("TIP_PROGRAMARE")%></div>
                        <div style="font-style: italic; width: 100%">
                            Tip Sterilizare:
                            <%# Eval("TIP_STERILIZARE")%></div>
                        <div style="font-style: italic; width: 100%">
                            Tip Aparatura:
                            <%# Eval("TIP_APARATURA")%></div>
                        <div style="font-style: italic; width: 100%">
                            Tip Echipament/Sala:
                            <%# Eval("NUME_ECHIPAMENT")%></div>
                        <div style="font-style: italic; width: 100%">
                            Operatia:
                            <%# Eval("NUME_OPERATIE")%></div>
                    </AppointmentTemplate>

2 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 12 Feb 2014, 11:53 AM
Hi,

Thank you for contacting Telerik support.

Such behavior is supported in MonthView as for example it is described in this KB article. In the other views the appointment's height is calculated according to the RowHeight that is set to RadScheduler.

Hope this will explain the issues. I you have further questions please don't hesitate to contact us again.

Regards,
Plamen
Telerik
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 UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Tofan
Top achievements
Rank 1
answered on 14 Feb 2014, 08:11 AM
Thank you and will look into it.
Tags
Scheduler
Asked by
Tofan
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Tofan
Top achievements
Rank 1
Share this question
or