404 Not Found - /dhtmlxscheduler_custom_lightbox.js"

Hi
I’m using the Scheduler for ASP.NET MVC 3 and want to use a custom lightbox
I followed the steps in the Documentation:
i created the custom view for the new form

@model NewSchedulerViewModel
@{
    ViewBag.Title = "LightboxControl";
}

<h2>New Reservation</h2>
@using (@Html.BeginForm("Save", "Reservation"))
{ 
    <div class="control-group">
        @Html.LabelFor(m => m.start_date, new { @class = "control-label" })
        <div class="controls">
            @Html.EditorFor(m => m.start_date)
        </div>
    </div>
    <div class="control-group">
        @Html.LabelFor(m => m.end_date, new { @class = "control-label" })
        <div class="controls">
            @Html.EditorFor(m => m.end_date)
        </div>
    </div>
    <div>
        @Html.HiddenFor(m=>m.id)
    </div>
    <div class="control-group">
        @Html.LabelFor(m => m.text, new { @class = "control-label" })
        <div class="controls">
            @Html.EditorFor(m => m.text)
        </div>
    </div>
    <div class="control-group">
        @Html.LabelFor(m => m.PatientBirthDate, new { @class = "control-label" })
        <div class="controls">
            @Html.EditorFor(m => m.PatientBirthDate)<input type="submit" class="btn btn-info" value="Save" />
        </div>
    </div>
    <div class="form-actions">
        <input type="submit" class="btn btn-success" value="Save" name="actionButton" />
        <input type="submit" value="Close" class="btn btn-cancel" />
        <input type="submit" class="btn btn-danger" value="Delete" name="actionButton" />
    </div>
}
  • created the action : ActionResult LightboxControl in my controller
  • added this line in my index action : sched.Lightbox.SetExternalLightbox(“Reservation/LightboxControl”, 420, 195);
    and finally modified my save action

the problem is:
Scheduler doesn’t load and i get this javascript error from firebug

"NetworkError: 404 Not Found - http://localhost:6565/Assets/Plugins/Scheduler.Net/dhtmlxScheduler/dhtmlxscheduler_custom_lightbox.js"

where is this file( dhtmlxscheduler_custom_lightbox.js) i couldn’t find it .
Thank you

Hello,
dhtmlxscheduler_custom_lightbox.js should be in the root folder of the scheduler’s codebase,
i.e

dhtmlxScheduler/ dhtmlxscheduler.js dhtmlxscheduler.css dhtmlxscheduler_custom_lightbox.js

Thank you Aliaksandr

but where can i get this file from

all needed files should be included into dhmlxScheduler.Net package , if this file is missing, try to download the latest build from scheduler-net.com

This file was missing, and it is working now
Thank you Aliaksandr

I have created a partial view and I am getting the following error :

Server Error in ‘/’ Application.

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /PartialFormView/BookRoom