P
Paul
I declare a UserControl called header and in that header I declare a
<asp:label id=name> control. I reference this user control at the top of my
HTML page.
In my Page_load subroutine, I try to programatically set that "name" equal
to something.
I get an error saying that the "name" has not been defined.
My guess is that the page_load routine is being run before the UserControl
is referenced within the page.
Is there a way that I can do this without getting the error?
<asp:label id=name> control. I reference this user control at the top of my
HTML page.
In my Page_load subroutine, I try to programatically set that "name" equal
to something.
I get an error saying that the "name" has not been defined.
My guess is that the page_load routine is being run before the UserControl
is referenced within the page.
Is there a way that I can do this without getting the error?