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
2730
UltraCombo
posted

1. How to remove an item from the combobox. I have tried remove and removeat function, but its not working. It moves it from the list but not from the combo items.

So say for instance I have 2items in a list

Cat

Dog

Combox.Items.RemoveAt("Dog"); // This does not work for some reason.

Parents
  • 469350
    Offline posted

    Hi,

    You cannot remove, add, or edit the items in the UltraCombo. The list comes from the DataSource, so the only way to remove an item from the list is to remove that item from the DataSource you are binding to.

    You could hide a row using the Hidden property, though. The InitializeRow event is usually a good place to do this.

Reply Children