I want to use the current or parent’s DocType grid property in a view.

Is there a way to make a call to GetGridHtml recursively, similar to GetPropertyValue’s ability to pass a boolean as the second paramater?

I can do something like this.


@Html.GetGridHtml(Model.Content.GetProperty("propertyAlias", recurse: true), "bootstrap3")

You may also like

Leave a Reply