I am porting classic controls to 13.1, and am being challenged in capturing changes to the WebNumericEditor values.
With the old WebNumericEdit, I simply did a edit.addEventListener("ValueChange", ChangesMade);
With the new WebNumericEditor, I have tried edit.addClientEventHandler(edit, "ValueChange", ChangesMade);
However, the ChangesMade function does not get called.
Please advise.
Thanks...Steve
Hi Steve,
The event name in this case would be "ValueChanged" and the handler function name should be passed to the addClientEventHandler as a function:
edit.addClientEventHandler(edit, "ValueChanged", "ChangesMade")
Please let me know if this helps.
Thank you!
Sure wish I could have found that in the documentation! Would have saved both of us a lot of time!
Hello sjreed,
Glad that the issue is resolved and thank you for your feedback !
Please do not hesitate to contact me if you have any further questions regarding this scenario.