Dropdown in DetailsView

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Im trying to use a dropdown in a detailsview, but I get the error:

BC30456: 'DropDown1' is not a member of 'mypage'

It works outside the detailsview. What is the correct method to reference a
dropdown in a detailsview?

Thanks in advance
 
Ralph,

You have to use the FindControl method to get out the drop down.
Something like DetailsView1.FindControl("YouDropDownListName");

Hope this helps.
 
Back
Top