<p>Starting from ASP.NET MVC Preview 3, HTML.Button ( and other related HTML controls) are no  longer supported.</p>

<p>The question is, what is the equivalent for them? I've an app that was built using Preview 2, now I have to make it compatible with the latest CTP releases.</p>

[{'answer_id': 59271, 'author': 'Joel Coehoorn', 'author_id': 3043, 'author_profile': 'https://Stackoverflow.com/users/3043', 'pm_score': 4, 'selected': False, 'text': '<p>Just write <code>&lt;input type="button" ... /&gt;</code> into your html.  There\'s nothing special at all with the html controls.</p>\n'}, {'answer_id': 59286, 'author': 'Thunder3', 'author_id': 2832, 'author_profile': 'https://Stackoverflow.com/users/2832', 'pm_score': -1, 'selected': False, 'text': '<p><code>&lt;asp:Button&gt;</code> is the ASP.NET equivalent to the HTML.Button. It will by default generate an <code>&lt;input type="button"&gt;</code>. (This is the System.Web.UI.WebControls.Button class)</p>\n'}, {'answer_id': 59316, 'author': 'Graviton', 'author_id': 3834, 'author_profile': 'https://Stackoverflow.com/users/3834', 'pm_score': 5, 'selected': True, 'text': '<p>I figured it out. It goes something like this:</p>\n\n<pre><code>&lt;form method="post" action="&lt;%= Html.AttributeEncode(Url.Action("CastUpVote")) %&gt;"&gt;\n&lt;input type="submit" value="&lt;%=ViewData.Model.UpVotes%&gt; up votes" /&gt;\n&lt;/form&gt;\n</code></pre>\n'}, {'answer_id': 61433, 'author': 'Brad Wilson', 'author_id': 1554, 'author_profile': 'https://Stackoverflow.com/users/1554', 'pm_score': 2, 'selected': False, 'text': '<p>Several of the extension methods got moved to Microsoft.Web.Mvc, which is the MVC Futures DLL. You might want to look there for things that have gone missing.</p>\n'}]
['https://Stackoverflow.com/questions/59267', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3834/']