Where to put OnLoad statement

Excuse me if I am asking an obvious question, but I don’t use Javascript normally.

I am trying to include the scheduler in an ASP.NET MVC3 website. It is to be included on a content page rather than the master page. Therefore, I don’t have a <body tag on which to place the onload=“init()” statement. Without it, the calendar won’t be displayed. Therefore, where should I place the statement on the content page?

xiecsuk

Hello,

Add following:

function init(){ // your code here } dhtmlxEvent(document.body, "load", init);
Best regards,
Ilya