Harsh Jani

Harsh Jani

  • NA
  • 34
  • 52k

Finding DropDownList inside Item_Updating event

Nov 19 2014 2:02 AM
Hi,
 
I want to find a DropDownList Control inside ItemUpdating event of DetailsView control. I have used following methods to do the same, but none of them are working
 
DropDownList drp_SName = (DropDownList)dv_UnshippedOrders.Rows[0].Cells[0].FindControl("drp_Name");
DropDownList drp_SName = (DropDownList)dv_UnshippedOrders.FindControl("drp_Name");
 
Kindly help me out in this regard. 

Answers (3)