ScriptVariables.ToHtmlString
Returns the script as an MVC/Razor HTML string so it embeds
properly as raw text. Use this version in Razor views to
avoid having to use Html.Raw()
.
@scriptVars.ToHtmlString()
public HtmlString ToHtmlString(bool addScriptTags)
© West Wind Technologies, 2025 • Updated: 2025-03-08
Comment or report problem with topic