I encounter this problem repeatedly, and haven\'t a clue what is causing it. I get an exception in the DataBind: SelectedValue which is invalid because it does not exist i
SelectedValue which is invalid because it does not exist i
I was getting the same error repeatedly and try ending up by not setting the default selected value to Index -1.
I commented my code ddlDRIBidAmt.SelectedValue = -1
ddlDRIBidAmt.SelectedValue = -1
This value was set at the time where my Page Controls were reset to default values.