<%= H(Model.RecordCount) %> Contacts found. Showing <%= H(Model.PageSize) %> records per page.
<%= HTML.LinkToExt(" New","Contacts", "Create", empty, Array("class", "btn btn-xs btn-primary")) %>
<%= HTML.FormTag("Contacts", "Search", empty, empty) %>
<% If Model.CurrentPageNumber <> 1 then %>
<%= HTML.LinkToExt("
", MVC.ControllerName, MVC.ActionName, Array("page_num", 1,"q", Choice(Request.Form.Count = 0,Request.QueryString("q"),Request.Form("q"))), Array("class", "btn btn-default")) %>
<%= HTML.LinkToExt("
", MVC.ControllerName, MVC.ActionName, Array("page_num", Model.CurrentPageNumber - 1,"q", Choice(Request.Form.Count = 0,Request.QueryString("q"),Request.Form("q"))), Array("class", "btn btn-default")) %>
<% Else %>
<% End If %>
<% If CInt(Model.CurrentPageNumber) < CInt(Model.PageCount) then %>
<%= HTML.LinkToExt("
", MVC.ControllerName, MVC.ActionName, Array("page_num", Model.CurrentPageNumber + 1,"q", Choice(Request.Form.Count = 0,Request.QueryString("q"),Request.Form("q"))), Array("class", "btn btn-default")) %>
<%= HTML.LinkToExt("
", MVC.ControllerName, MVC.ActionName, Array("page_num", Model.PageCount,"q", Choice(Request.Form.Count = 0,Request.QueryString("q"),Request.Form("q"))), Array("class", "btn btn-default")) %>
<% Else %>
<% End If %>