I have a Main dialog which contains a list box of certificates from the Windows certificate store. Below the list box is a button which displays a child dialog which also contains a listbox with details about the certificate (5 lines of text, but I need to be able to scroll it). (See attachments for screenshot).
I have a C# custom action which updates the contents of AI_LISTBOX_DATA when the 'Details...' button is pressed and then I call the custom action to update my listbox. I've tried moving listbox update CA to the child dialog instead, but this didn't help either.
I've tried creating a twin dialog of the main dialog in order to get the child dialog's listbox to update, but the child dialog's listbox doesn't update (I suspect it is because the call to close the child dialog does not actually dispose of the dialog and when I reopen it, the listbox isn't refreshed because there has been no change to the child dialog, but cannot be certain).
1) Is it possible to force the refresh in this case? I could use a property to track which dialog was last displayed and show the other for a twin dialog type of solution, but this doesn't seem right; is there a better way?
- OR -
2) Is there an alternative control with built-in scrolling? Subject and Issuer can be very long. I would very much like to avoid the enhanced UI although that is not a hard requirement.
Thank you,
- Adam
FOLLOW US
Get the latest news in Application Packaging