U4-9850 - Is there an option to Insert a property that is grid based in the new super lovely insert menu

Created by Marc Goodson 03 May 2017, 12:38:54 Updated by Warren Buckley 21 Aug 2017, 09:41:58

Subtask of: U4-9609

It may exist and I may not have seen it but...

When you render a property based on a grid you put markup into your view in the format

@CurrentPage.GetGridHtml("content", "fanoe")

or strongly typed equivalent...

This may not be obvious to people who are new to Umbraco, and they may use the new super lovely 'insert' dropdown menu in the template editor, and I think we should have an option here for 'Grid'

of the person chooses Value

They'll be able to pick the grid property value but this will produce


or strongly typed equivalent...

So it would be super nice to have a special grid rendering helper here so people are aware of the different way to render a property based on the grid.

Again it may exist elsewhere, but I'm just thinking of people looking at the starter kit first and trying to GROK how Umbraco works...

2 Attachments


Shannon Deminick 04 May 2017, 01:23:50

BTW @CurrentPage.GetGridHtml("content", "fanoe") is obsolete and so is @Model.Content.GetGridHtml these methods should not be used, it is the job of the HtmlHelper to render Html

The correct method is @Html.GetGridHtml(Model.Content, "content", "fanoe"), here's the code https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web/GridTemplateExtensions.cs#L20

Marc Goodson 04 May 2017, 10:26:39

@Shandem yes there should be a race to update the fanoe starterkit! reckon you could probably do it using the new template editor 'live' during codegarden or on a hangout to show off the new editor...

Priority: Normal

Type: Feature (request)

State: Open

Assignee: Mads Rasmussen

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.6.0

Due in version:


Story Points:

Cycle: 4