Stephen
unread,Jul 4, 2009, 2:21:47 AM7/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Spark View Engine Dev
In my aspx pages, I can succesfully use Html.Actionlink, but when I
attempt it in spark files, it doesnt show up in intellisense, and when
i try to run it anyway, i get:
Dynamic view compilation failed.
c:\Users\midas\Documents\Visual Studio 2008\Projects\ChurchMVC
\ChurchMVC\Views\Home\Index.spark(73,25): error CS1061:
'System.Web.Mvc.HtmlHelper' does not contain a definition for
'ActionLink' and no extension method 'ActionLink' accepting a first
argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you
missing a using directive or an assembly reference?)
I do have system.web.mvc referenced, and I have added <use
namespace='System.web.mvc'/> in _global.spark.
None of that helps. Any ideas?