0
0No answers
Browser other questions tagged asp.net-mvc-5 parameters
You are not signed in. Login or sign up in order to post.0
Browser other questions tagged asp.net-mvc-5 parameters
You are not signed in. Login or sign up in order to post.
Have you tried with Htmlencode? https://msdn.microsoft.com/pt-br/library/73z22y6h(v=vs.110). aspx
– Aline
@Aline I tried to follow your tip, but the error continues, I used:
@Html.ActionLink("Visualizar", "DetailsRaWeb", new { id = HttpUtility.HtmlEncode(item.cod_item_CRM) })
– Thomas Erich Pimentel
You could not replace it with another character and replace it in the controller?
– Thiago Araújo
@Thiagoaraújo replace? vc says, replace in view, and in controler change to / (bar)?
– Thomas Erich Pimentel
this... vc would send instead of a bar, a character like '#' for e.g. And in Controller, would replace string.Replace("#", "/");
– Thiago Araújo