Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Is @Html.Raw(...) working? ... or am I just a nOOb? #2392

@guardrex

Description

@guardrex

Trying to use @Html.Raw(@ViewBag.xxx) in a view to inject some raw HTML into the view, but I'm receiving: RuntimeBinderException: 'Microsoft.AspNet.Mvc.Rendering.IHtmlHelper<object>' does not contain a definition for 'Raw'

I'm new to MVC, so I'm not surprised if I'm just doing something wrong.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions