Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. @using (Html.BeginForm())
  2. {
  3. @Html.TextBox("searchString", (string)ViewBag.searchString, new { @class = "form-control", name = "searchString", placeholder = "Search..." })
  4. <input type="submit" value="Search" class="btn" />
  5. @Html.ActionLink("Search", "Index", new { sortOrder = @ViewBag.sortOrder, searchString = ???, page = 1 }, new { @class = "btn", type = "submit" })
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement