|
Rank: Member Groups: Member
Joined: 11/13/2014 Posts: 13
|
We need to return a value back to the page when we call a JavaScript extension method. In the documentation, I don't see any discussion about returning a value back. Can you let me know if this is possible? I see we can assign a value to the ReturnValue property of the JSExtInvokeArgs object. How is this used within JS on the page?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
|
|
Rank: Member Groups: Member
Joined: 11/13/2014 Posts: 13
|
Thanks. We do set that property, but the method always returns undefined on the JS side. How do we reference the value that is set for ReturnValue on the JS side?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, It would be a bug if that's the case. Please check if you are running the latest build first (DLL version 3.0.92). If you are already running the latest build and the problem still occurs, then please isolate the problem into a test project and send the test project to us. You can find more instructions on how to send us test project here: http://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|