Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Just upgraded to 4.7.1 now some of my working razor macros are throwing errors eg
The best overloaded method match for 'System.Web.WebPages.Html.HtmlHelper.Raw(string)' has some invalid arguments
This was writing out rich text edit field.
Any ideas?
Regards
Ismail
This help?
http://our.umbraco.org/forum/developers/razor/21002-List-child-node's-body-text
Is that System.Web.WebPages from Umbraco or from your local .net dlls?
Try swapping them?
Lee,
No joy i now get
Error loading Razor Script 'System.Web.HtmlString' does not contain a definition for 'ToXml'
Anthony,
This is inline razor macro in template.
What version did you upgrade from?
4.7 to 4.7.1
There unfortunately was a breaking change that slipped through, please provide the Razor and I'll help fix. :)
Oh, just thought, in 4.7.1 you don't have to do Html.Raw on an RTE any more, try it without.
I've changed to @Html.Raw(Model.GetProperty("contentBody").Value) will see how it goes. It's a bit random so will have to wait and see if reoccurs.
Sorry wrong post.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
issue after upgrade to 4.7.1
Just upgraded to 4.7.1 now some of my working razor macros are throwing errors eg
The best overloaded method match for 'System.Web.WebPages.Html.HtmlHelper.Raw(string)' has some invalid arguments
This was writing out rich text edit field.
Any ideas?
Regards
Ismail
This help?
http://our.umbraco.org/forum/developers/razor/21002-List-child-node's-body-text
Is that System.Web.WebPages from Umbraco or from your local .net dlls?
Try swapping them?
Lee,
No joy i now get
Error loading Razor Script
'System.Web.HtmlString' does not contain a definition for 'ToXml'
Regards
Ismail
Anthony,
This is inline razor macro in template.
Regards
Ismail
What version did you upgrade from?
4.7 to 4.7.1
There unfortunately was a breaking change that slipped through, please provide the Razor and I'll help fix. :)
Oh, just thought, in 4.7.1 you don't have to do Html.Raw on an RTE any more, try it without.
I've changed to @Html.Raw(Model.GetProperty("contentBody").Value) will see how it goes. It's a bit random so will have to wait and see if reoccurs.
Sorry wrong post.
is working on a reply...