I think I'm missing something relatively simple here, but I'm trying to find a way to apply the CSS class to my controls in my views. I use
<%= Html.SubmitButton("Submit", "Edit Plot")%>
style method for this. If you do not use separators around these elements and apply style, is there a way to access the CssClass property, which will be available in normal .NET?
source share