hi Evan, thanks for the info. Yeah, i ended up using the GetProperty method.
the problem was down to the content, certain content was being treated by Dynamic as an xml type and other content was being treated as an html object type. To Avoid the Dynamic aspect i went with .GetProperty and just always deal with it as a string representation of html (which is what i want anyway).
razor and the simpleEditor
does anyone know how to successfully get content out of a property thats based on the simple editor?
ive tried @Model.mySimpleEditor and @Html.Raw(@Model.mySimpleEditor) and a few other things, but inevitably i get:
umbraco.MacroEngines.DynamicXml
im on 4.7.1.1
thanks
Hi Andrew
With 4.7.1.1 I've used both;
Try taking out the @ symbol in front of Model.
Cheers
Evan
hi Evan, thanks for the info. Yeah, i ended up using the GetProperty method.
the problem was down to the content, certain content was being treated by Dynamic as an xml type and other content was being treated as an html object type. To Avoid the Dynamic aspect i went with .GetProperty and just always deal with it as a string representation of html (which is what i want anyway).
:-)
is working on a reply...