MVC プロジェクトでタブの実装を開始する場所がわかりません。これが問題です。部分ビューにタブを実装したいのですが、すべてのコントローラーとビューでタブを使用できるようにしたいと考えています。タブをコーディングするときは、現在のコントローラーとビューを知る必要があるため、タブ QueryString で Html.ActionLink() を変更できます。
これについてどうすればいいですか
<%= Html.ActionLink(QuestionSort.SortArray[0], "Current View", "Current Controller", null, new { rel = "nofollow" })%>
<% for (int x = 1; x < QuestionSort.SortArray.Length; x++)
{ %>
<%= Html.ActionLink(QuestionSort.SortArray[x], "Current View", "Current Controller", new { sort = Server.UrlEncode(QuestionSort.SortArray[x]) }, new { rel = "nofollow" })%>
<% } %>