IFieldFormattingOptions.HtmlEncode Property
.NET Framework (current version)
Gets a value that indicates whether the data for the control is HTML-encoded before it is rendered.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Property Value
Type: System.Booleantrue if the data for the control is HTML-encoded before it is rendered; otherwise, false.
HTML-encoding field values helps prevent cross-site scripting attacks and malicious content from being rendered to the browser. This property should be enabled unless you trust the content or have checked for malicious content in another way.
.NET Framework
Available since 3.5
Available since 3.5
Show: