Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
umbraco ver is 7.0.2, this is my code:
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @System.Web.Mvc; @MvcHtmlString.Create("<ul>")
it will get a error
'System.Web.Mvc' is a 'namespace', which is not valid in the given context
but change to this is correct
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @System.Web.Mvc.MvcHtmlString.Create("<ul>")
how can i import namespace in partial views?
thanks very much
@using System.Web.Mvc ??
oh, my god, I made a stupid mistake
thanks mike
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
why can not import namespace in partial views
umbraco ver is 7.0.2, this is my code:
it will get a error
'System.Web.Mvc' is a 'namespace', which is not valid in the given context
but change to this is correct
how can i import namespace in partial views?
thanks very much
@using System.Web.Mvc ??
oh, my god, I made a stupid mistake
thanks mike
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.