Copied to clipboard

Flag this post as spam?

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

  • Nikolaj Lund Jensen 2 posts 73 karma points
    Jun 08, 2016 @ 11:14
    Nikolaj Lund Jensen

    Get grid editor alias


    I am facing a problem with Umbraco Grid editor / LeBlender.

    How do I get the value from "Grid editor alias" into my view? As you can see, I am using the Leblender model. enter image description here

    It seems that the grid editor alias is connected to Umbraco Grid and not to LeBlender. As far as I understand, this means that I cannot access the Grid editor alias from the leblendermodel.

    My view uses the following:

    @using ClientDependency.Core.Mvc
    @using Lecoati.LeBlender.Extension.Controllers
    @inherits UmbracoViewPage<Lecoati.LeBlender.Extension.Models.LeBlenderModel>

    Any help is much appreciated.


  • Søren Kottal 486 posts 3164 karma points MVP 2x c-trib
    Jul 15, 2016 @ 21:11
    Søren Kottal

    What do you need the alias for?

    To render the grid editor, you just need to create a view in /Views/Partials/Grid/Editors/gallery.cshtml

  • Mike Chambers 617 posts 1197 karma points c-trib
    Apr 26, 2017 @ 20:43
    Mike Chambers

    Came across this.. I would like to get the editor name too.. basically to centralise the view requirement in a common view, with tiny alterations dependant on the editor name.

    Did you find any pathways to get the editor name?

Please Sign in or register to post replies

Write your reply to: