Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.Net More than 1 form?

Tags:

asp.net

On every page (sitting in the master) I have the login fields.

In the other pages I have different controls, e.g. a contact formular.

How can I set more than one <form>-tag for this?

like image 890
PassionateDeveloper Avatar asked Dec 23 '22 08:12

PassionateDeveloper


1 Answers

ASP.NET Web Forms are built around the concept of 1-form only. To get around this you'd need to either use a different flavor (a la MVC) or take a look at this article for how to get around it in Web Forms:

http://www.codeproject.com/KB/aspnet/CHtmlForm.aspx

like image 150
Brandon Avatar answered Dec 29 '22 12:12

Brandon