Is there a property like the Eventmanager of a Wingrid but for the UltraOptionSet? I want to be able to suspend the value changed event of the ultraoptionset while I am assigning the initial value to the ultraoptionset. The ultraoptionset does not have a datasource.
I'm pretty sure that only the large controls/components (i.e. grid, toolbarsmanager, etc) have an EventManager property. In order to handle what you want to do, you should keep a local flag to prevent you from executing your logic in hte ValueChanged event and reset this flag when you are done with your intialization. Another option would be to remove the event handler, though I am partial to the first method.
-Matt
Matt, Thank you for your suggestions. I had thought of using the local flag, but just seemed too crude. I am a bit embarrassed that I had not thought of using .NET RemoveHandler, AddHandler, that works just fine. Sorry to have taken up your time.
Lyle