Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2225
HTML encoding model data
posted

Using MVC3, Razor, C#, IE8.

In order to protect against XSS, it's necessary to encode my model data before rendering it to the browser. The default Html.EditorFor is encoding the data that is sent to the view. However, the infragistics editors are not. Is there a property that needs to be set?

What is the preferred way of html encoding on an infragistics editor?

Thanks.
Tony

Parents Reply Children
No Data