I have a very unusual problem which has got me stumped.
On a page I have created there is a repeater control which has a dropdownlist that is bound with data.
The data comes from SQL via stored procs.
There are 16 different product categories each uses the same page and procs to populate the page.
On 15 of the products when selecting a item from the dropdownlist the correct item is selected and added to a shopping cart.
For 1 of the categories however no matter what selection is made it is always the first item in the list that is added.
string productID = commandArgs;
ddlPrice = (DropDownList)e.Item.FindControl("ddlProduct");
ddlDescription = ddlPrice.SelectedItem.Text;
productPrice = ddlPrice.SelectedValue;