1
How can I send the user to a certain block of the page by passing the id to the url. For example: http://getbootstrap.com/css/#type, how to pass this type in ASP.NET MVC using the return RedirectToAction
.
The line of my code is like this: return RedirectToAction("Index", "Home");
,
tried return RedirectToAction("Index", "Home",new{#type});
but he won’t accept the "#".
And another question, what is the name of this resource where you pass the "#" in the page url.
Junio , did not work, is returning this page: https://prnt.sc/fmupc6
– Leonardo Bonetti
Junior I fixed the line you gave me, it worked ! what was giving problem was the "/" of "/#type";
– Leonardo Bonetti
@Leonardobonetti, I really had forgotten the "/" I will edit the question, vlw.
– Junior Porfirio
actually I had edited, the correct is without bar :D
– Leonardo Bonetti