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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...