C
CsaaGuy
Hi, I have a datagrid and each column i have a dropdownlist. I am
populalting these dropdownlists in the itembound event. This part is
working fine. However, when i press the update link, and use the arg e
like this: CType(e.Item.Cells.Item(3).Controls(1),
DropDownList).SelectedItem.Text.Trim. The SelectedItem is always equal
the first item in the dropdownlist, not the one i highlighted. Does
anyone know why the dropdownlist is not returning the selected item?
Thanks.
populalting these dropdownlists in the itembound event. This part is
working fine. However, when i press the update link, and use the arg e
like this: CType(e.Item.Cells.Item(3).Controls(1),
DropDownList).SelectedItem.Text.Trim. The SelectedItem is always equal
the first item in the dropdownlist, not the one i highlighted. Does
anyone know why the dropdownlist is not returning the selected item?
Thanks.