Copied to clipboard

Flag this post as spam?

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


  • Graham Thomson 56 posts 136 karma points
    Jan 04, 2017 @ 20:36
    Graham Thomson
    0

    Document type Grid Editor

    Hi

    I installed the Document type Grid Editor extension.

    I get as far as selecting my document type for the blueprint of the data that I want to work with and then Visual Studio comes to the fore on my screen with the following -

    An exception of type 'System.Web.HttpCompileException' occurred in System.Web.dll but was not handled in user code

    Additional information: External component has thrown an exception.`

    Anyone got any ideas?

    Thank you

    Graham

  • Graham Thomson 56 posts 136 karma points
    Jan 04, 2017 @ 20:38
    Graham Thomson
    0
    @using System.Web.Mvc.Html
    @using Our.Umbraco.DocTypeGridEditor.Helpers
    @using Our.Umbraco.DocTypeGridEditor.Web.Extensions
    @using Umbraco.Core.Models
    @inherits Umbraco.Web.Mvc.UmbracoViewPage<IPublishedContent>
    @{
    var id = Request.Form["id"];
    var editorAlias = Request.Form["editorAlias"];
    var contentTypeAlias = Request.Form["contentTypeAlias"];
    var value = Request.Unvalidated.Form["value"];
    var viewPath = Request.Form["viewPath"];
    var previewViewPath = Request.Form["previewViewPath"];
    
    var content = DocTypeGridEditorHelper.ConvertValueToContent(id, contentTypeAlias, value);
    
    @Html.RenderDocTypeGridEditorItem(content, editorAlias, viewPath, previewViewPath)
    

    }

  • Graham Thomson 56 posts 136 karma points
    Jan 04, 2017 @ 20:39
    Graham Thomson
    0

    Visual Studio seems to be flagging the final line as a problem....

    @Html.RenderDocTypeGridEditorItem(content, editorAlias, viewPath, previewViewPath)

  • 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.

Please Sign in or register to post replies