Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • gary 385 posts 916 karma points
    Feb 03, 2013 @ 23:05
    gary
    0

    V6 live site @Html.Partial

    Hi

    Have put live a V6 (RC, sorry didn't see the release) site, a demo of responsive design which was a quick hack, but have an odd error regarding a partial.

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage

    @Html.Partial("navigation")
    System.Web.Mvc.HtmlHelper etc. . . does not contain a definition for Partial and no extension method Partial.
    Is this something I have missed? Worked perfectly on the local server.
    Regards
    Gary

  • James Borza 34 posts 95 karma points
    Feb 08, 2013 @ 18:15
    James Borza
    0

    Try this, works for me:

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
    @Html.Partial("PartialViewName", Model.Content)
Please Sign in or register to post replies

Write your reply to:

Draft