I am getting below error javascript error: Cannot set properties of undefined (setting 'J') the line code in c# as belows js.ExecuteScript("flexmonster.exportTo('excel', { filename: '" + strFilePath + "' })");
When the debugger come at line code js.ExecuteScript("flexmonster.exportTo('excel', { filename: '" + strFilePath + "' })");
then i get error as javascript error: Cannot set properties of undefined (setting 'J')
Hello, Nagaraj!
Thank you for reaching out to us.
We haven't managed to reproduce the described behavior on our side. Please ensure you're using the latest version of Flexmonster and the js.ExecuteScript()
is not firing the error without Flexmonster API call inside.
If the issue still happens on the latest version, please provide us with a minimal reproducible sample so we can test the described case on our side.
Looking forward to hearing from you.
Kind regards,
Solomiia