KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I like the cleanliness of using (Html.BeginForm()) And hate that adding HTML attributes requires specifying the controller, action, and form method. using (Html.BeginForm("Action", "Controller", FormMethod.Post, new { id = "inactivate-form" }) Is there a way to use Html.BeginForm and specify HTML attributes for the form without manually wiring everything else up?
Tags (comma-separated)
Save Edits
Cancel