November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
If you call
xhtmlString.ToHtmlString();
it should give you the html output of the xhtmlstring (including dynamic content).
In CMS7 we have separated rendering from data. So a given data migth be rendered in different ways depending on context (MVC, WebFomrs, UI hints, DisplayChannels etc).
And if you run MVC it is also conventions that comes to play when MVC chooses a template for a data instance (e.g. a property)
In your case are you using MVC or WebForms? And in which context are you doing the rendering (are you execution on a webform page/ Mvc View)?
Hi and thanks.
We're using webforms. How are UI hints considered when rendering a property within webforms? I know that tags are considered when rendering a content area with blocks and so on, but how does UI hints fits in here?
If we're not passing in any principal to ToHtmlString(), does it take the current principal?
By the way,
((XhtmlString)innerProperty.Value).ToHtmlString();
doesn't render the dynamic content.
Hi,
Is there any function that renders a property with Dynamic Content from a ContentData to e.g. a string? I've tried the GetPropertyValue() extension without any luck.