3
Answers

Finding DropDownList inside Item_Updating event

Harsh Jani

Harsh Jani

9y
565
1
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)