Witam Chcę wrócić kotwicę z MVC ControllerPrzekierowanie do mieszania ze sterownika za pomocą „RedirectToAction”
nazwa Controller = defaultController;
public ActionResult MyAction(int id)
{
return RedirectToAction("Index", "region")
}
więc, że adres URL, gdy skierowany do indeksu jest
http://localhost/Default/#region
Więc
<a href=#region>the content should be focus here</a>
Nie pytam, czy można zrobić to tak: How can I add an anchor tag to my URL?
http://stackoverflow.com/questions/7904835/how-can-i-add-an-anchor-tag-to-my-url – DevDave