Setting Values into Partial view in lightbox

For getting and setting values to custom partial view lighbox the java code is

[code]
getValues = function () {
var ev = {};
var inputs = document.body.getElementsByTagName(‘input’);

        for (var i = 0; i < inputs.length; i++) {
            if (inputs[i].type == "button") {
                continue;
            }
            if (inputs[i].getAttribute('name') == "start_date" || inputs[i].getAttribute('name') == "end_date")
                ev[inputs[i].getAttribute('name')] = parent.scheduler.templates.xml_date(inputs[i].value);
            else
                ev[inputs[i].getAttribute('name')] = inputs[i].value;


        }
        return ev;
    };
    setValues = function (obj) {
        var inputs = document.body.getElementsByTagName('input');

        for (var i = 0; i < inputs.length; i++) {
            var name = inputs[i].getAttribute('name');
            if (name && obj[name] !== undefined && inputs[i].type != "button") {
                if (name == "start_date" || name == "end_date")
                    inputs[i].value = parent.scheduler.date.date_to_str(parent.scheduler.config.xml_date)(obj[name]);
                else
                    inputs[i].value = obj[name];
            }
        }
    };
});[/code]

but my code does not get into setValues or getVlaues i have throughly checked using alerts but still it is not going in.
Included dhtmlxscheduler_custom_lightbox.js too but still nothing.

in controller

var scheduler = ConfigureScheduler(); var box = scheduler.Lightbox.SetExternalLightbox("SFox/LightboxControl", 600, 380); box.ClassName = "main";

Hello,
there is two different kinds of custom lightboxes
The one that uses getValues-setValues
scheduler-net.com/docs/fully_cus … htbox.html
It can be enabled with DHXScheduler.Lightbox.SetExternalLightboxForm method

And the one that doesn’t
scheduler-net.com/docs/lightbox. … a_lightbox
can be enabled with DHXScheduler.Lightbox.SetExternalLightbox