0 out of 2 rated this helpful - Rate this topic

HtmlHelper.Raw Method

Returns markup that is not HTML encoded.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public IHtmlString Raw(
	string value
)

Parameters

value
Type: System.String
The HTML markup.

Return Value

Type: IHtmlString
The HTML markup without encoding.

This method wraps HTML markup using the IHtmlString class, which renders unencoded HTML.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.