Exemplo n.º 1
0
        private string BuilderPreviousItem()
        {
            if (!_showPrevious)
            {
                return(null);
            }

            var tag = BuildItemTag(_pagedList.GetPreviousNumber(), _prevText);

            if (!_pagedList.HasPrevious())
            {
                tag.AddCssClass("disabled");
            }

            return(GetTagBuilderString(tag));
        }