Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
OptionSet does not display after closing and re-opening form
posted

Greetings,

     I've come across a weird issue and I haven't been able to figure out what is occurring.  I have added an OptionSet to a child form and have it bound to a system.windows.form.bindingsource.   During the form load event, I set up a value list and add two items to it. 

    During testing when the form is opened the first time, it displays as expected...  However, when the form is closed and re-opened all the controls except for the OptionSet display.  I tried stepping through the code to see if I could catch any error that might not be popping, but nothing.  Stepping through the code, the value list is built and added to the optionset so it appears the control exists but it just doesn't display.   I have a couple of other Infragistic controls on the form and they display fine.  I'm using VB.Net for the language.

    Am I missing something during form shutdown to clean up the optionset or is it something else I have to do in order to have the control display each time the form is opened?

Thanks

Parents Reply Children