Hi,
I'm using an "AppointmentTemplate" to display my appointments. However in Timeline view (also in Month/Week view) only part of my templates is visible and the rest is cut off. This is due to the fact that the height of the "appointment" cells is fix.
Is there anyway I can modify the size of the "appointment" cells.
Also, I'm grouping by a resource. How can I specify the height of the groups in Timeline view so that all my cells are of the same height.
Any help will be greatly appreciated for the above.
Thanks ...
I'm using an "AppointmentTemplate" to display my appointments. However in Timeline view (also in Month/Week view) only part of my templates is visible and the rest is cut off. This is due to the fact that the height of the "appointment" cells is fix.
Is there anyway I can modify the size of the "appointment" cells.
Also, I'm grouping by a resource. How can I specify the height of the groups in Timeline view so that all my cells are of the same height.
Any help will be greatly appreciated for the above.
Thanks ...
8 Answers, 1 is accepted
0
Hi,
You can use the following CSS to set the Appointment height to 40px and set the resource headers to match their height (this is for the Timeline View):
Note that the last height should be 1 pixel higher than the appointments' height to compensate for borders.
Regards,
Dimitar Milushev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can use the following CSS to set the Appointment height to 40px and set the resource headers to match their height (this is for the Timeline View):
<style type="text/css"> |
.RadScheduler .rsAllDayCell div.rsWrap |
{ |
height:40px; |
} |
.RadScheduler .rsHoursTable th.rsSubHeaderHidden |
{ |
height:40px; |
} |
.RadScheduler .rsHoursTable tr th.rsSubHeaderLast |
{ |
height:41px; |
} |
</style> |
Note that the last height should be 1 pixel higher than the appointments' height to compensate for borders.
Regards,
Dimitar Milushev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

shad
Top achievements
Rank 1
answered on 20 May 2008, 03:48 AM
Thanks for the tips, they were very helpful. In my case I had to increase the last height by 2 pixels instead of 1px. I can now display the appointments template correctly and the cells are correctly aligned.
0

Paul
Top achievements
Rank 1
answered on 06 Jan 2012, 05:30 PM
I have the same problem, but when I apply css nothing happened in my case.
In my code Eval("Subject") generated dynamically and contains hyperlink.
<AppointmentTemplate>
<%# Eval("Subject") %>
</AppointmentTemplate>
Each appointment should have 3 lines which I have to display. But this css doesn't work. I have MonthlyView scheduler.
I always found another code:
This code only increase space between appointments, but not increase height of the the appointment in IE8.
In FireFox second css looks good.
We need some resolution for IE.
Thanks for help,
Paul
In my code Eval("Subject") generated dynamically and contains hyperlink.
<AppointmentTemplate>
<%# Eval("Subject") %>
</AppointmentTemplate>
Each appointment should have 3 lines which I have to display. But this css doesn't work. I have MonthlyView scheduler.
.RadScheduler .rsAllDayCell div.rsWrap |
{ |
height:40px; |
} |
.RadScheduler .rsHoursTable th.rsSubHeaderHidden |
{ |
height:40px; |
} |
.RadScheduler .rsHoursTable tr th.rsSubHeaderLast |
{ |
height:41px; |
.rsMonthView .rsWrap
{
height: 50px !important;
}
.rsMonthView .rsDateWrap
{
height: 24px !important;
}
.rsMonthView .rsLastWrap
{
height: 24px !important;
}
.rsMonthView .rsApt
{
height: 48px !important;
}
.RadScheduler_Default
{
height:150px !important;
}
In FireFox second css looks good.
We need some resolution for IE.
Thanks for help,
Paul
0
Hello Paul,
Instead of using the css workaround from this kb article, I recommend you simply set the RowHeight property of RadScheduler to some larger value and test if this helps you get the desired appearance.
Regards, Peter
the Telerik team
Instead of using the css workaround from this kb article, I recommend you simply set the RowHeight property of RadScheduler to some larger value and test if this helps you get the desired appearance.
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

Paul
Top achievements
Rank 1
answered on 11 Jan 2012, 05:35 AM
Thanks, I successfully increase appointment height.
Another issue I have: I use TimelineView for scheduler and I always display only one day. Sometimes scheduler has only vertical, sometimes both vertical and horizontal scrollbars. How can I remove both scrollbars from TimelineView scheduler?
Thanks,
Paul
Another issue I have: I use TimelineView for scheduler and I always display only one day. Sometimes scheduler has only vertical, sometimes both vertical and horizontal scrollbars. How can I remove both scrollbars from TimelineView scheduler?
Thanks,
Paul
0
Hello Paul,
Normally, there shouldn't be any scrollbars as evidenced by the online demo.
Can you send us a sample code with which we can replicate the problem locally?
Kind regards,
Peter
the Telerik team
Normally, there shouldn't be any scrollbars as evidenced by the online demo.
Can you send us a sample code with which we can replicate the problem locally?
Kind 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

Paul
Top achievements
Rank 1
answered on 12 Jan 2012, 12:32 AM
I found my problem. To decrease height I uses next code:
.rsTimelineView .rsAllDayTable .rsAllDayRow
{
height: 28px!important;
}
When I increase height to 28 scrollbars are disapear.
Thanks,
Paul
.rsTimelineView .rsAllDayTable .rsAllDayRow
{
height: 28px!important;
}
When I increase height to 28 scrollbars are disapear.
Thanks,
Paul
0
Hi Paul,
We are glad you could locate the issue. Let me know if you need any further assistance.
Kind regards,
Kate
the Telerik team
We are glad you could locate the issue. Let me know if you need any further assistance.
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