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

TimeSlotCreated and Advanced form

1 Answer 58 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 15 Nov 2011, 06:13 PM
Hi,
    I have some styling setup in the TimeSlotCreated event which all works great when perfoming any commands on the secheduler, but when I double click on a timeslot to insert an appointment I get the advanced form but the styling is lost on the schedule behind. If I fillout the form and click save or even if I cancel the form the styling comes back. I have attached a screen shot before and after. On trying to track it down I noticed that on opening the form the TimeSlotCreated event is only fired once which is before page_load and when closing or saving the TimeSlotCreated event is fired after page_load. So I guess because it's not being fired after page_load when opening the form the styling is lost from when it was called before the page_load.

If you could make a quick demo which has special day CSS styling applied in the TimeSlotCreated and also uses the advanced form that does not loose this styling when the advanced form is open I would appreciated it as I could use it to see what perhaps I'm doing wrong if it's not a bug.

Thanks

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Nov 2011, 11:39 AM
Hi Paul,

This is a known limitation of styling slots via handling TimeSlotCrteated and using the modal advanced form. The reasons for this are exactly as you have pointed out.

As a possible workaround, you can set AdvancedForm-Modal="false".

Best Wishes,
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
Tags
Scheduler
Asked by
Paul
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or