hello
i'm building a site that i want to include a user control on the top
of every page (basically a header/nav bar).
in that ascx there are a few vb objects (linkButtons, labels).
in order for them to be accessible to the codebehinds, i need to have
them wrapped in a form with runat=server on the form.
in the main body of the pages, just about every page is going to also
have a form on it, again with the runat=server parm.
then i get the "A page can have only one server-side Form tag"
is there anything i can do?
also in the ascx, i seem to have to make it a full html page because i
need to have a <head> section so that i can include the
<link href="style.css" type="text/css" rel="stylesheet"> line so that
i can access the css.
from what i read, the main page loads first, then the usercontrol page
loads. tried to exclude the <html> wrapper out of the control, but
that just made a mess of things. very stuck on these 2 topics.
help with these 2 topics would be very much appreciated as always!