Attempt by security transparent method exception

Hi,

I ran the MVCFormInLightbox project in the MVC 5 sample solution and got exception when I clicked on “Save” button: “Attempt by security transparent method ‘DHTMLX.Scheduler.Data.SchedulerFormResponseScript.op_Implicit(DHTMLX.Scheduler.Data.SchedulerFormResponseScript)’ to access security critical type ‘System.Web.Mvc.ContentResult’ failed.” It stopped at the line " return (new SchedulerFormResponseScript(action, changedEvent));" in the “CustomSave” method in MVCFormInLightboxController.cs. Can anyone please help? Thanks!

Hi,
try this build of dhtmlx.dll, does it fixes a problem?
dhtmlxScheduler.NET.3.1_141114.zip (81.4 KB)

It works! Thanks, Aliaksandr! Just wondering will this be updated in the download package (assuming you are working for dhtmlx.com)?

Yes, we’ll try update packages on Monday