Selected unit ID is not passed to controller


I have unit and timeline views on my calendar. When I tried to create an even either on Unit or Timeline view by selecting a time slot for a specific unit on the view, it should pass the selected unit id to the lightbox method in the controller, but the id always 0. Please help. Thanks!

usually it shouldn’t happen. I’ve added a timeline in MVCFormInLightbox example from a samples project, and it seems to pass a section id there

Can you attach a demo project where the problem can be reproduced?

Thanks again for your prompt response, Aliaksandr! I figured out the cause. It was my bad, I used the wrong unit id property name. Thanks for looking into it.