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

[Solved] Date picker getting cut off in TimelineView

1 Answer 135 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Piotr
Top achievements
Rank 1
Piotr asked on 28 Oct 2009, 03:01 PM
Date picker gets cut off horizontally in TimelineView when there are no appointments in the calendar.
Does anybody know a fix for this?

1 Answer, 1 is accepted

Sort by
0
Toi Wright
Top achievements
Rank 1
answered on 29 Oct 2009, 03:16 PM
I found that I needed 6 appointments in a day in order to view the date picker correctly. So, I add blank appointments to the scheduler.

 

int i = 6 - this.Count;

 

while (i > 0)

    {

        AddItemDay(10, -1,

"", new DateTime(Year, Month, Day, 0, 0, 0), 1, 0, 0, 3600, "", "");

 

         i = i - 1;

    }

On the RadScheduler1_AppointmentDataBound event I set

e.Appointment.CssClass =

"rsCategoryNone";

<

 

style type="text/css">

 

 

 

 

.RadScheduler .rsCategoryNone .rsAptContent, .RadScheduler .rsCategoryNone .rsAptMid .rsAptIn, .RadScheduler .rsCategoryNone .rsAptMid, .RadScheduler .rsCategoryNone .rsAptOut

 

 

{

background-image: none;

}

 

</style>

 

 

 

Tags
Scheduler
Asked by
Piotr
Top achievements
Rank 1
Answers by
Toi Wright
Top achievements
Rank 1
Share this question
or