You can add a suitable event handler that is fired when user updates the data in the edit mode (Say,
RowUpdating
) and find the control using the
RowIndex
of the corresponding row that is currently being updated. That is, something llike the following (I used C# code to demonstrate the idea) :
protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
DropDownList ddl = GridView1.Rows[e.RowIndex].FindControl("ddlEditFaculty") as DropDownList;
}