Executing js after showing lightbox

Hi All!

I’m using scheduler .net for MVC3. And I have a question - are there any events for lighbox that can be used? I need to execute some js after lightbox is show, can I do this?

Thanks!

docs.dhtmlx.com/scheduler/api__s … event.html

onLightbox event is called after lightbox is shown

I’m not sure this is right event to customize smth in lightbox, because when it fires the light box is not renderd yet, so lightbox itself is rendered but if we use fully custom variant then its content is empty…

This event is called when lightbox is fully rendered and is visible.
If you are using a custom lightbox, especially some view which loads in the lightbox - data loading is async, so there is no exact event. You can embed js code directly in the lightbox view, so it will fire just after loading on page.