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

TimeSlotCreating is not fired before Page_Load on post back.

1 Answer 42 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 28 Oct 2010, 04:29 PM
I am running into an issue where my RadScheduler's TimeSlotCreated event gets fired BEFORE my Page_Load function on a postback, where my logic in Page_Load() needs to run before the TimeSlotCreated event gets fired off.

I saw in some past patch notes for Q2 2008 SP1 (version 2008.2.826) HERE  one of the fix notes under RadScheduler:
                               - TimeSlotCreating is not fired before Page_Load on post back.


I am currently developing with ASP.NET AJAX Q3 2009, and am still seeing TimeSlotCreated event getting called before my Page_Load

Something I am doing wrong? Or is the bug still in the version I am using?

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 01 Nov 2010, 04:02 PM
Hello Ron,

The TimeSlotCreated event is fired for the previously rendered view so you can recreate any dynamic controls. This is necessary if these controls need to raise events and load post data.

If you don't need to raise events from controls added in the time slots, then simply attach the TimeSlotCreated event handler in the Page_Load method.

I hope this helps.

Best wishes,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Ron
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or