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
155
Select an option in an UltraOptionSet
posted

Hi all!

I want to programatically select an item from an UltraOptionSet, like:

ultraOptionSet:CheckedItem = ultraOptionSet:Items[0]

or

ultraOptionSet:CheckedIndex = 0.

But it doesn't work any of these options, does anybody know how to do that? Or if impossible how to uncheck the selected option?

Thanks in advance!

  • 469350
    Offline posted

    I'm not sure what programming language the syntax you posted here is using. But I tried this out in C# and either of these approaches works fine for me:

    this.ultraOptionSet1.CheckedItem = this.ultraOptionSet1.Items[0];

     

    this.ultraOptionSet1.CheckedIndex = 0;