Can we put form tag inside view in MVC. I need to keep report controller inside the form tag which is inside the view. It works fine. I am new to MVC, can anybody tell is it the correct way to work with.
A:
Yes, you can put form tags in views. Forms are standard html tags, so it's not a problem. You can also put form tags with runat="server" if you want to render some server controls that require it.
Branislav Abadjimarinov
2010-04-08 07:31:58
Using server controls in an ASP.NET MVC application is not considered as a good practice.
Darin Dimitrov
2010-04-08 08:01:17