I want to add some javascript to fire when a combobox is updated, when I try and do it like this combo.Actions throws a NullReferenceException. Is there a way to do this?
combo = new ComboBoxField();
combo.PartialName = "MyCombo";
combo.Actions.OnExit = new JavascriptAction("app.alert(this.getField('MyCombo').value);");
Thanks for your inquiry. I have tested your scenario with ComboBoxField using Aspose.Pdf for .NET 10.6.0 and managed to observe the reported exception. For further investigation, I placed an issue into our issue tracking system as PDFNEWNET-39128 and also linked your request to it. We will keep you updated via this thread regarding the issue status.
Thanks for your inquiry. I am afraid your above reported issue is still not resolved as product team is busy in resolving other issues in the queue, reported earlier. However I have raised the priority of your issue and requested our team to share an ETA at their earliest. We will notify you as soon as we made some significant progress towards issue resolution.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.