Form Elements in ASP.NET Master Pages and Content Pages

Posted by Rob Cooper on Stack Overflow See other posts from Stack Overflow or by Rob Cooper
Published on 2008-10-07T13:19:39Z Indexed on 2010/03/31 10:23 UTC
Read the original article Hit count: 696

Filed under:
|
|
|

OK, another road bump in my current project.

I have never had form elements in both my master and content pages, I tend to have all the forms in the content where relevant.

In the current project however, we have a page where they want both. A login form at the top right, and a questions form in the content.

Having tried to get this in, I have run in to the issue of ASP.NET moaning about the need for a single form element in a master page. TBH, I really dont get why this is a requirement on ASP.NET's part, but hey ho.

Does anyone know if/how I can get the master and content pages to contain form elements that work independantly?

If not, can you offer advice on how to proceed to get the desired look/functionality?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about master-pages