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

[Solved] appointment height in month view

3 Answers 203 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 2
Alex asked on 21 Dec 2007, 07:54 AM
I would like to know if it is possible to make the appointment height in the month view dynamic. I want to see the whole subject even when it does not fit on one line.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Dec 2007, 12:57 PM
Hello Alex,

Please, try the following solution and let us know if it works well for you:
 <style type="text/css">  
  .RadScheduler .rsWrap .rsApt.Custom   
   {  
      height: 50px ;  
      white-space:normal;  
   }  
</style> 

protected void RadScheduler1_AppointmentDataBound(object sender, Telerik.Web.UI.SchedulerEventArgs e)  
    {        
        if (e.Appointment.Subject.Length > 10)  
        {  
            e.Appointment.CssClass = "Custom";  
        }  




All the best,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alex
Top achievements
Rank 2
answered on 21 Dec 2007, 04:00 PM
Thank you for a quick reply. Unfortunately, this does now work well.
1) If I have 2 appointments and change the height of the 1st one, the 2nd appointment just blocks the extended view of the first instead of being pushed down.
2) The height of the day cell does not change so the appointment just goes over to the cell of the day below.






0
Peter
Telerik team
answered on 24 Dec 2007, 01:31 PM
Hi Alex,

You may need to increase the height of the cells. Please, refer to the following KB article: How to tweak the appearance of RadScheduler's cells 


All the best,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Alex
Top achievements
Rank 2
Answers by
Peter
Telerik team
Alex
Top achievements
Rank 2
Share this question
or