I have a repeater with a dropdown list.("ddlOwner")
I am trying to access the dropdown on the Sub Page_Load with this
I can find it if it is in a Sub other than the Sub Page_Load.
Is there something I have to change to access it on the page loading?
Dim ddlOwner As DropDownList = rptEditProject.Items(0).FindControl("ddlOwner")
gives the the following error:
"Index was out of range. Must be a non negative and less than the size of the collection"