1
I have the following address for a view
:
http://localhost/Configuracao/Details/1
Where create a button/link that redirects to another address from another view
as follows:
<a href="@Url.Action("~/Views/Ativos/Index", Model.Id)" title="Visualizar" class="btn btn-info">
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
Ativos
</a>
Only by clicking the address:
http://localhost/Configuracao/~/Views/Ativos/Index
How to do this steering?
Have you tried calling the Active Controller View Index directly? href="@Url.Action("index","Active", Model.Id)"
– Randrade
Do you want to pass the ID parameter along with the URL? Getting http://localhost/Assets/Index/1?
– Randrade
@Renilson Andrade Ih comrade all right!? I’m Jothaz remember? That was it! It worked. Elaborate the answer so I mark as correct. And thank you very much!
– Jothaz
I missed the H in the name, but I remember yes, this avatar helped me a lot. I’m glad I could reciprocate in a small way.
– Randrade