I believe this HtmlHelper is only availbe in the Futures assembly. The Futures assembly is no longer referenced automatically. It is a seperate download.
It looks like this HtmlHelper wasn't doing a whole lot for you in this case anyway. Why not just write:
alivemedia
Member
43 Points
54 Posts
MVC BETA: 'SubmitButton' is not a member of 'System.Web.Mvc.HtmlHelper'
Oct 17, 2008 04:54 PM|LINK
I created a new MVC BEta Project and copied over a few views and I get this error now:
'SubmitButton' is not a member of 'System.Web.Mvc.HtmlHelper'
It's not even listed as an option for me - what the hell?

Anyone know what I am doing wrong here?
MVC beta
bradleylandi...
Member
233 Points
109 Posts
Re: MVC BETA: 'SubmitButton' is not a member of 'System.Web.Mvc.HtmlHelper'
Oct 17, 2008 05:16 PM|LINK
I believe this HtmlHelper is only availbe in the Futures assembly. The Futures assembly is no longer referenced automatically. It is a seperate download.
It looks like this HtmlHelper wasn't doing a whole lot for you in this case anyway. Why not just write:
<input type="submit" id="Search" name="Search" value="Search" class="btn"/>
jeloff
Contributor
2493 Points
432 Posts
Microsoft
Re: MVC BETA: 'SubmitButton' is not a member of 'System.Web.Mvc.HtmlHelper'
Oct 18, 2008 12:39 AM|LINK
Download the MvcFuture bits from CodePlex for the Beta and then add MvcFutures back to the <Pages> section of your web.config:
<pages>
<namespaces>
<add namespace="Microsoft.Web.Mvc"/>
</namespaces>
</pages>
SubmitButton should then become available inside your view once you rebuild (the intellisense does not always immediately pickup on changes).