C
crjunk
I have a user control on my web form. When I Try to declare a
varialbe that references a dropdown list on my user control, I receive
an error. Is their something wrong with my decloration statement?
Dim UControlNew As UserControl = Page.FindControl("ReceivedRecord1")
' Web forms bombs out on the ddlFYYearNew Dim statement.
Dim ddlFYYearNew As DropDownList =
UControlNew.FindControl("ddlFYYear")
Thanks!
Crjunk
varialbe that references a dropdown list on my user control, I receive
an error. Is their something wrong with my decloration statement?
Dim UControlNew As UserControl = Page.FindControl("ReceivedRecord1")
' Web forms bombs out on the ddlFYYearNew Dim statement.
Dim ddlFYYearNew As DropDownList =
UControlNew.FindControl("ddlFYYear")
Thanks!
Crjunk