hi i m using 5 combobox in my asp.net 3.5 c# project .here i want remove item from other combobox which item is selected in other combobox.
A:
In the OnSelectedIndexChanged event, just call the comoboBox.Items.Remove method.
As the commenter below points out, make sure you set AutoPostBack = True so events fire when you actually change your selection.
Jack Marchetti
2010-02-03 16:08:45
i think this will only work when `AutoPostBack` is set to `true`
Andreas Niedermair
2010-02-03 16:10:56