Updating the selected item in a list box via code

I have a number of radzen list boxes setup on a screen. When a user selects one of the items in one of the list boxes I want the other list boxes to select the item based on the index. So if the user selects item A in a list box that contains A and B I want item C automatically selected in another list box that contains C and D. I have used a @ref command and have access to the listboxes in an onChanged event. The value in the OnChanged event is the ID I want to apply to the other list boxes. I tried using

SelectItem(value,false) this doesn't seem to work.

Any suggestions would be appreciated

Thanks

Hi @KenMcCullough,

You should select items by setting the property / field of your page to which your ListBox's Value is set. Setting the value of a component via @ref isn't something that we would recommend.

Thanks. Can you provide a sample of how to set the property / field.