So, I have found a problem that is one of the most weird I have ever had.
I have a page with two dropdown lists. I use a webservice to get
data and populate one of them (ddlAllAreas), and then I have a button.
When the button is pressed, the thought is that I shall take the
currently selected item, and move it to the other dropdown, however, I
never get this far (almost).
My ddlAllAreas contain about 600-700 items, and when you pick one
that is not in the beggining, the ddlAllAreas.selectedItem and
ddlAllAreas.selectedIndex return values from another item in the list,
even though it is not selected.
Code follows:
public void GetAreas()
{
// Get areas from webservice.
Happy.Service happyConn = new Happy.Service();
DataSet myDataSet = happyConn.GetSubAreas();
DataRowCollection dataRowColl = myDataSet.Tables[0].Rows;
...
Go to the complete details ...