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

Expand Appointment Template Area

8 Answers 131 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
.NET Coder
Top achievements
Rank 1
.NET Coder asked on 23 Jul 2008, 08:44 PM
Is it possible to set the appointment templage area to expand so it will show all the text of the Custom Attributes?   I formatted the Custom Attibutes to list vertically, but it shows only the top row and everything below gets chopped off.  This is the case for both the weekly and monthly view.

Class Name
-------------Everything chopped off below
Location
Time
Material

Thanks

8 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 25 Jul 2008, 07:41 AM
Hi Wayne,

Please check out our online example here.

Hope this helps.

Regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
.NET Coder
Top achievements
Rank 1
answered on 25 Jul 2008, 03:01 PM

Thanks for the response.  I did review this example earlier which answered a lot of questions for me.  However, I need to expand the vertical space between the AppointmentTemplate.

The AppointmentTemplate is designed to display the appointment information vertically as coded below.  Only the first line and part of the second line display, the rest is cut off.  How can I increase the height of the Appointment Template?

<

AppointmentTemplate>

<%

#Eval("Subject")%><br />
<%#Eval("Attributes['Location']")%><br />
<%# DateTime.Parse(Eval("Attributes['StartTime']").ToString()).ToString("t") %><br />
<%# DateTime.Parse(Eval("Attributes['EndTime']").ToString()).ToString("t") ><br />
<%#Eval("Attributes['ScheduleStatus']")%><br />

</

AppointmentTemplate>

0
Peter
Telerik team
answered on 28 Jul 2008, 03:17 PM

Thanks for the clarification. With the AppointmentTemplate you don't have such great flexibility for customization as with the AdvancedEdit and AdvancedInsert templates. This is because the height of the appoitnment or the template for the appointment is determined by the duration of the appointment. I hope this makes sense.

If you have something different in mind or any suggestions for a workaround - we are open to discuss them.  


All the best,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
.NET Coder
Top achievements
Rank 1
answered on 28 Jul 2008, 09:23 PM
What you said makes sense for the area where the time is displayed.

I need to find a way to increase the vertical space for an All Day Appointment to show all the text being displayed.  Right now it only allows a single horizontal line of text.

Right now I am forced to put everything on one single line like this:
Class: English  Teacher: John Smith Room: 217

I desire to have the information listed like this:
Class: English
Teacher: John Smith
Room: 217

Is this possible,, or am I out of luck?

Thanks

0
Peter
Telerik team
answered on 29 Jul 2008, 10:21 AM
Hello Wayne,

For all day appointments, the following css styles will help you achieve your goal:
 <style type="text/css">  
    .rsAllDayCell .rsWrap   
    {  
        height100px !important;     
    }     
    .rsAllDayCell .rsLastSpacingWrapper  
    {  
        height25px !important;  
        }  
    </style> 


Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
.NET Coder
Top achievements
Rank 1
answered on 29 Jul 2008, 03:31 PM
Thank you!  That is exactly what I needed.

Is it possible to increase this height in the Month View to allow more information to be dispalyed there as well?

Wayne
0
Accepted
Peter
Telerik team
answered on 29 Jul 2008, 03:36 PM
Hi Wayne,

The following KB articles will help you accomplish this:

How to tweak the appearance of RadScheduler's cells

How to set the appointment's height to accomodate the entire subject's text in Month View



Sincerely yours,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
.NET Coder
Top achievements
Rank 1
answered on 29 Jul 2008, 03:51 PM
Thank you!  You have given me everything I need.
Tags
Scheduler
Asked by
.NET Coder
Top achievements
Rank 1
Answers by
Yana
Telerik team
.NET Coder
Top achievements
Rank 1
Peter
Telerik team
Share this question
or