In my scheduler, the OnResourceHeaderCreated is not firing. I've paired down my Scheduler to try and make sure that it's not due to any other properties and it doesn't appear to be.
Has anyone else had this problem?
From what I can see, none of the demos are using this event, so I can't look at a working example there.
Thanks!
Jeff
Has anyone else had this problem?
From what I can see, none of the demos are using this event, so I can't look at a working example there.
Thanks!
Jeff
4 Answers, 1 is accepted
0
Hi Jeff,
You need to have a resource type defined and to set the GroupBy property for the ResourceHeaderCreated event to occur. Attached is a small demo sample for reference.
Best wishes,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You need to have a resource type defined and to set the GroupBy property for the ResourceHeaderCreated event to occur. Attached is a small demo sample for reference.
Best wishes,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Jeff Nafe
Top achievements
Rank 1
answered on 08 Dec 2008, 03:35 PM
Thanks for the example.
In our case, we are not loading the Scheduler upon Page Load. We are loading it once the user has entered some criteria. Because of this, the GroupBy value is not set within the scheduler, but programatically when binding. In this situation, the event does not fire.
You can demonstrate this with your code by removing the 'GroupBy = "Room"' from the Scheduler definition and adding the following line in Page Load:
RadScheduler1.TimelineView.GroupBy = "Room";
In this case, it doesn't work.
When I add the GroupBy to my Scheduler definition, it bombs. I'm assuming that this is due to the fact that the Scheduler isn't binding until later.
Thanks, Jeff
In our case, we are not loading the Scheduler upon Page Load. We are loading it once the user has entered some criteria. Because of this, the GroupBy value is not set within the scheduler, but programatically when binding. In this situation, the event does not fire.
You can demonstrate this with your code by removing the 'GroupBy = "Room"' from the Scheduler definition and adding the following line in Page Load:
RadScheduler1.TimelineView.GroupBy = "Room";
In this case, it doesn't work.
When I add the GroupBy to my Scheduler definition, it bombs. I'm assuming that this is due to the fact that the Scheduler isn't binding until later.
Thanks, Jeff
0
Hello Jeff,
I tested just as you suggested, but still there were no problems on our side. Could you please open a support ticket and send us a small working project demonstrating the issue?
Kind regards,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I tested just as you suggested, but still there were no problems on our side. Could you please open a support ticket and send us a small working project demonstrating the issue?
Kind regards,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Jeff Nafe
Top achievements
Rank 1
answered on 09 Dec 2008, 06:13 PM
Thanks, I have submitted ticket 179040