I'm using the CheckBoxList Widget from the InteractiveAutomationScript library.
When changing multiple checkboxes quickly after each other, some revert back. It looks like the CheckBoxList can only handle one update at a time, so you need to wait a bit after each change.
Does anyone know what I'm missing to prevent this behavior?
Thanks for your input Amer. I’ll close the question for now and raise a task to improve this.
Hi Michiel,
I understand and reliesed that you were using Dialogs and not the UI blocks.
https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Utils.InteractiveAutomationScript.Dialog.Interacted.html
You could try working with that otherwise with Dialogs I do not see a way.
Hi Michiel,
Has your question been answered by Amer's comment? If yes, could you select this answer to mark the question as complete?
Hi Marieke,
It seems that this is a limitation/bug in the library. It is not possible to set the WantsOnChange property to false as we don’t have access to the UIBlockDefinition object (internal in the library) of the CheckBoxList class in the library.
Library ref: https://www.nuget.org/packages/Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit
Hi Michiel,
As far as my understanding goes you would need WantsOnChange to be false ie. that the interface does not update automatically but that you manually update the interface through your code which is not optimal