tags:

views:

48

answers:

1

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
Using server controls in an ASP.NET MVC application is not considered as a good practice.
Darin Dimitrov