Scheduler not Loading a blue screen

I have followed the tutorial. tried understanding now when i implement i am getting a blue screen.
And i am not getting the reason for this. I gave correct js and css but still i dont know what exactly the problem is.

When inspected through firebug i get an error
ReferenceError: scheduler is not defined
scheduler.config.serverLists = {};

Secondly when i click on the calendar i get another error
TypeError: scheduler.__show_minical is not a function

am really headbanging about these.
This is how i get the calendar.

can you show your code?

On Controller side
public ActionResult Index()
var scheduler = ConfigureScheduler();
scheduler.InitialDate = DateTime.Today;
ViewBag.scheduler = scheduler;
return View();

    private DHXScheduler ConfigureScheduler()
        var scheduler = new DHXScheduler(this); //initializes dhtmlxScheduler
        scheduler.LoadData = true;// allows loading data
        scheduler.EnableDataprocessor = true;// enables DataProcessor in order to enable implementation CRUD operations
        scheduler.Codebase = Url.Content("~/Scripts/dhtmlxScheduler"); //"dhtmlxScheduler";
        scheduler.Config.show_loading = true;
        scheduler.Height = 1080;
        var cal = scheduler.Calendars.AttachMiniCalendar();
        cal.Navigation = true;
        return scheduler;

On View
DHTMLX.Scheduler.DHXScheduler obj = ViewBag.scheduler;



with Importing all JS

<script src="@Url.Content("~/Scripts/dhtmlxScheduler/dhtmlxscheduler_custom_lightbox.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/dhtmlxScheduler/ext/dhtmlxscheduler_limit.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/dhtmlxScheduler/ext/dhtmlxscheduler_editors.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/dhtmlxScheduler/ext/dhtmlxscheduler_expand.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/dhtmlxScheduler/ext/dhtmlxscheduler_minical.js")" type="text/javascript"></script>


changed from

and calendar is showing :stuck_out_tongue: guess what in another prj above worked good using the same syntax.

TypeError: scheduler.__show_minical is not a function

still clicking on calendar gives above result in firebug

Rest of the control like Month,day,week,next,previous,today are working except the Calendar

Currently scheduler initialization code(which is rendered by GenerateHTML) is executed right away, without waiting for document ready. That’s why sources must be included before GenerateHTML. Btw, not necessary to include them manually, you can use .GenerateLinks() method.
I’ve tested your configuration, minicalendar seems working. Can you check the Network tab of dev tools, whether all of js files loaded correctly?

I have been figuring out for entire time but things are not working. Tried hooking the script dynamically but still things are not working. Then tried looking on firebug if scripts are loaded and they are but still they are not working rest of things are good working fine only calendar thing is missing am yet to test calendar on lightbox.

Am i doing something wrong !

I’ve created small project with your code, and I still can’t reproduce the issue. One thing i’ve change is replaced link and script tags with DHXScheduler.GenerateLinks()
Check the example …

Ok now when i replaced each and every links and then placed this @Html.Raw(obj.GenerateLinks()) it worked.