<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% if (!Model.HasNext && !Model.HasPrevious) { return; } %>

Showing <%= Model.Start %>—<%= Model.ActualEnd %> of <%= Model.TotalCount %>.