FindControl will not work when searching for control in gridview which in on master page. Neither one of the 'Dim ....' options listed below will work. This is on a master page, but it is in the RowDataBound routine where I am trying to access the control.
Protected Sub SchLayer1GridView_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs)
Dim NewNameDrpDn As DropDownList = CType(e.Row.FindControl("DrpDnName1"), DropDownList)
Dim NewNameDrpDn As DropDownList = DirectCast(e.Row.FindControl("DrpDnName1"), DropDownList)
Any help would be appreciated.