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.