I'm trying to convert a classic ASP page to ASP.NET 3.5. The page has several forms on it for several different things.
In ASP.NET, there's a server form control wrapping the entire page, and form controls don't work within a server form control, and you can't have more than one server form control on a page.
So in order to keep this functionality, I can either:
- Remove the server form control that's wrapping the page, and leaving the html forms on the page.
- Create button click events for every form and perform the POST in the code-behind.
What's the preferred method here?