I have this code:
<div class="LoginBox">
<form id="form2" runat="server">
<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
lolbags
</asp:ContentPlaceHolder>
</form>
</div>
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
My plan was to have a form contain my usercontrol LoginBox. The form would be positioned on the top right corner.
I want to have another form for my main content, but it seems you can't have two forms runat-Server.
Am I doing something wrong here?
I'm green to ASP.Net so any help/best practices here will do. :)