Hello I want to return an anchor from Mvc Controller
Controller name= DefaultController;
public ActionResult MyAction(int id)
{
return RedirectToAction("Index", "region")
}
So that the url when directed to index is
http://localhost/Default/#region
So that
<a href=#region>the content should be focus here</a>
I am not asking if you can do it like this: How can I add an anchor tag to my URL?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…