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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.