☝️Small business or a startup? See if you qualify for our special offer.
+

javascript error: Cannot set properties of undefined (setting 'J')

Answered
Nagaraj Chatiri asked 3 days ago

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')

1 answer

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster 3 days ago

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

 

Please login or Register to Submit Answer