Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using (Ajax.BeginForm("Index", "Brand", FormMethod.Post, New AjaxOptions With {
- .InsertionMode = InsertionMode.Replace,
- .UpdateTargetId = "GridList"}))
- @Html.TextBox("strName", Nothing, New With {.class = "form-control", .PlaceHolder = "XXXXX"})
- <button type="submit" style="display: none">Search</button>
- <button type="submit" style="display: none" id="btn-search">Search</button>
- $(function () {
- $("#btn-search").trigger("click");
- })
Add Comment
Please, Sign In to add comment