We can specify the css class attribute in an HTML helper method BeginForm as below in ASP.NET MVC Application
Html.BeginForm("MyActionName", "MyControllerName", FormMethod.Post, new { @class = "myclass"})
We can specify the css class attribute in an HTML helper method BeginForm as below in ASP.NET MVC Application
Html.BeginForm("MyActionName", "MyControllerName", FormMethod.Post, new { @class = "myclass"})