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
20
Programmatically Setting CheckedIndex on an UltraOptionSet
posted

I am trying to set the CheckedIndex for the UltraOptionSet control.

Stepping through the debugger, when I first reach the line of code, the CheckedIndex value is -1.

The code then sets the value to 1.

The value immediately goes back to zero.

If I go to the locals window and change the CheckedIndex value to 1, it again goes right back to 0.

There are 3 items in the list but I cannot get the value to change.

What am I missing here. All the samples show setting the CheckedIndex.

Please help

Thanks

Ben