Amit Maheshwari

Amit Maheshwari

  • NA
  • 5.4k
  • 1.4m

Error in Selectedvalue

Nov 23 2011 12:01 PM
hi friends,

I have a dropdownlist2 in a gridview whose datasource and select control parameter is based on the selected value of dropdownlist1 in the same gridview. Everything works great for insert, but when I edit the row in the gridview and change the selected value in dropdownlist1, I get an error of "'dropdownlist2' has a SelectedValue which is invalid because it does not exist in the list of items.

Answers (1)