I have a dropdown inside of a gridview. The user will select an item from the dropdown and click a link button (also inside the gridview).
I am capturing the click event in the gridview's RowCommand, but I also need to capture the value of the dropdown from the clicked row to pass to the next page.
I tried this from the Rowcommand event, but I am getting an error.
Dim ddl As DropDownList = TryCast(e.Row.FindControl("ddlCadence"), DropDownList)
Can someone help, please.