How to get to render a razor code from dictionaryItem
Hi Guys,
I have 2 different textString property associated to everything image uploaded in the media section and depending on the culture i would like to display either the EN or DE content.
The code that needs to be render is inside a DictionaryItem where it will be displayed inside the title tag.
The issue is instead of rendering the razor code instead it is only outputting title="@photos.legends" instead of title="something" .
How to get to render a razor code from dictionaryItem
Hi Guys,
I have 2 different textString property associated to everything image uploaded in the media section and depending on the culture i would like to display either the EN or DE content.
The code that needs to be render is inside a DictionaryItem where it will be displayed inside the title tag.
The issue is instead of rendering the razor code instead it is only outputting title="@photos.legends" instead of title="something" .
What am i doing wrong here ? or is there a better way of getting to do this ?
Any suggestion to this ??
Is there a better way of doing this like for example checking the culture info of the current node ?
is working on a reply...