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 work开发者_运维百科s fine. I am new to MVC, can anybody tell is it the correct way to work with.
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.
精彩评论