I have the following view:
@model MyModel1
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.Breadcrumb = "Gerenciar Acessos - Índices";
}
The second one:
@model MyModel2
@{
ViewBag.Title = "Pesquisar";
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.Breadcrumb = "Visualizar Bilhetes de Ligação";
}
In the first one breadcrumb the output html is: Gerenciar Acessos – Índices.
In the second one breadcrumb the output html is: Visualizar Bilhetes de Ligação
Why? Oo
OBS: I’m using ASP.NET MVC 3.
–EDIT
<div id="breadcrumb">
@Html.Raw(ViewBag.Breadcrumb)
</div>
To solve this, i change the Save Options of the file: