G
Guest
In traditional ASP I used to pretty much replicate what is now being done in
ASP.NET 2.0 with the master pages. I would create a header include file that
included everything up to the main content cell, and a footerthat included
the rest. I've been creating header user controls in asp.net but have run
into problems.
1) How do I work around only being allowed 1 form for page? If my user
control has server controls and a form in it, and so does my page, how can
they co-exist?
2) How can I programmatically access elements (i.e. a label or panel) in
the UC from the page that holds the user control.
Thanks, I appreciate the help!
ASP.NET 2.0 with the master pages. I would create a header include file that
included everything up to the main content cell, and a footerthat included
the rest. I've been creating header user controls in asp.net but have run
into problems.
1) How do I work around only being allowed 1 form for page? If my user
control has server controls and a form in it, and so does my page, how can
they co-exist?
2) How can I programmatically access elements (i.e. a label or panel) in
the UC from the page that holds the user control.
Thanks, I appreciate the help!