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

Setting Special Days (ID#1059)

2 Answers 85 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Len
Top achievements
Rank 1
Len asked on 29 Jul 2008, 10:41 PM

Using the techniques described in KB Article "(ID#1059) Setting special days or time slots in RadScheduler" I am able to set the css as described for any cell in any column exept the first one (in a week view ).

 While in debug I noticed that it is firing twice for every cell created (eg goes thru Sun Column, then Mon Column etc... then Sun, then Mon etc. again.

  As a test I tried the following:

void RadScheduler1_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
       {
           e.TimeSlot.CssClass = "disabled";
       }
("disabled" CSS had a background of Red )
Expecting all cells to be Red, all were, exept the first column. I see it execute the statement for every cell but does not render the first column.
 
Any idea of why it goes thru this method twice ? and only the first column is not rendered?

Thanks - Len


2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 31 Jul 2008, 09:07 AM
Hello Len,

Can you replicate the problem in the sample project from the KB article? If yes, please open a support ticket and send us the modified project so we can test it locally. If you have a different project with the issue, please send this one instead.

Regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Len
Top achievements
Rank 1
answered on 01 Aug 2008, 06:52 PM
This problem was rectified after I downloaded the RadControls for ASP.NET AJAX 2008 2 723. It now renders as expected.

Thanks - Len
Tags
Scheduler
Asked by
Len
Top achievements
Rank 1
Answers by
Peter
Telerik team
Len
Top achievements
Rank 1
Share this question
or