M
msingh.russelmetals
Hello everybody.
I have a DropDownList in my Datagrid.
The DropDownList is prepopulated with data.
I'm capturing the event OnItemDataBound, and as the rows are populated
I'm selecting the correct index in my DropDownList based on a value for
that row.
My issue is that it seems that instead of selecting the value in the
DropDownList for that row, it selects the value in all the
DropDownLists for that column in the entire DataGrid.
So all the rows have the same value selected in the DropDownList that
corresponds to the value of the item that was meant for the last row.
Anybody seen this before and can help me out?
Thanks in advanced.
I have a DropDownList in my Datagrid.
The DropDownList is prepopulated with data.
I'm capturing the event OnItemDataBound, and as the rows are populated
I'm selecting the correct index in my DropDownList based on a value for
that row.
My issue is that it seems that instead of selecting the value in the
DropDownList for that row, it selects the value in all the
DropDownLists for that column in the entire DataGrid.
So all the rows have the same value selected in the DropDownList that
corresponds to the value of the item that was meant for the last row.
Anybody seen this before and can help me out?
Thanks in advanced.