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
Am I correct in determining that @Library is not compatable in a medium trust site? Specifically StripHtml.
Here why I think so:
Error loading Razor Script SubDocs.cshtmlThat assembly does not allow partially trusted callers.
I get thsi with this code:
@Library.Truncate(@Library.StripHtml(@item.BodyText),300)
however I don't get it with this code
@Library.Truncate(@item.BodyText,300)
Any an all insight is appreciated.
Thanks
Tim
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Medium Trust and @Library
Am I correct in determining that @Library is not compatable in a medium trust site? Specifically StripHtml.
Here why I think so:
Error loading Razor Script SubDocs.cshtml
That assembly does not allow partially trusted callers.
I get thsi with this code:
@Library.Truncate(@Library.StripHtml(@item.BodyText),300)
however I don't get it with this code
@Library.Truncate(@item.BodyText,300)
Any an all insight is appreciated.
Thanks
Tim
is working on a reply...