Hello,
I am working with razor in DW on a daily basis, and I wonder how to get the old <!--@DwTemplateTags--> in a razor template? :-)
I got this piece of code, which does some of the work, however I can't get the "deeper" fields when using the following:
<pre>@string.Join("\n", Values.Select(e => string.Format("{0}: {1}", e.Key, System.Web.HttpUtility.HtmlEncode(e.Value))).ToArray())</pre>
I would love to make it more efficient, e.g. to show Field Names, Values, etc. The code above gives me an overview, but not in the quite same manner, as the DwTemplateTags (depending on the location) it will show the available properties, values etc.
Any suggestions?