开发者

MVC3 is it possible to return a view with an achor tag

If I have a contr开发者_如何学运维oller action that returns a simple view

return View("Index");

Is there some way I could return with the browser being sent to /#tab?


This should be done on the client before invoking the action that will return the view:

@Html.ActionLink("link text", "MyAction", "MyController", null, null, "tab", null, null)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜