3
Reply

Finding DropDownList inside Item_Updating event

Harsh Jani

Harsh Jani

Nov 19 2014 2:02 AM
551
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)