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

[Solved] addEvent

1 Answer 44 Views
Scheduler for HTML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Heinrich
Top achievements
Rank 1
Heinrich asked on 18 Dec 2013, 05:07 AM
Hi,

I cant seem to find the addEvent method on the scheduler. 
var xx = Telerik.UI.find.Scheduler("#wrapper");
 xx.addEvent({...});

Any Ideas?

1 Answer, 1 is accepted

Sort by
0
Martin Yankov
Telerik team
answered on 18 Dec 2013, 09:25 AM
Hi Heinrich,

A possible cause for this problem is that the RadScheduler control is not yet initialized when you get the reference to it. You have to wait for the WinJS.UI.processAll() function to finish and then get the control reference. You can find a basic example in the attached project.

I hope this information is useful. Do not hesitate to ask in case of any further problems or questions.

Regards,
Martin Yankov
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Scheduler for HTML
Asked by
Heinrich
Top achievements
Rank 1
Answers by
Martin Yankov
Telerik team
Share this question
or