Hello,
I think there is a problem with the insert method...
For example, after this code:
| ListItem itemddl = new ListItem("ici", "1"); |
| DropDownList1.Items.Insert(0,itemddl); |
| DropDownList2.Items.Insert(0,itemddl); |
i will get 2 dropdown list with both the itemddl.
but i can't do the samething with radcombobox and radcomboxitem
for example the code:
| RadComboBoxItem item = new RadComboBoxItem("Choose", ""); |
| RcbFinOcc.Items.Insert(0, item); |
| RcbFinSec.Items.Insert(0, item); |
| RcbFinPri.Items.Insert(0, item); |
doesn't give me 3 radcombox with 3 three items "choose", but just one for the first.
I must make
| RadComboBoxItem item = new RadComboBoxItem("Choose", ""); |
| RcbFinOcc.Items.Insert(0, item); |
| RadComboBoxItem item2 = new RadComboBoxItem("Choose", ""); |
| RcbFinSec.Items.Insert(0, item2); |
| RadComboBoxItem item3 = new RadComboBoxItem("Choose", ""); |
| RcbFinPri.Items.Insert(0, item3); |