Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\Pagination.ascx
??<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.Pagination" %> <ul> <% if (this.Query.PageIndex <= 1) { %> <li class="disabled"> <%= new HtmlAnchor("???") { Href = "#" }%></li> <% } else { %> <li class=""> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(1) }%> </li> <% } %> <% if (this.Query.PageIndex - 1 < 1) { %> <li class="disabled"> <%= new HtmlAnchor("???") { Href = "#" }%> </li> <% } else { %> <li class=""> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(this.Query.PageIndex - 1) }%> </li> <% } %> <% int beginPageItem = (this.Query.PageIndex % 8 == 0 ? this.Query.PageIndex - 1 : this.Query.PageIndex) / 8 * 8 + 1; int endPageItem = beginPageItem + 8 - 1; if (endPageItem > this.Query.PageCount) { endPageItem = this.Query.PageCount; } if (beginPageItem > 1) { //????????????????? %> <li> <%= new HtmlAnchor("...") { Href = this.GetPageUrl(beginPageItem - 1) }%> </li> <% } for (int i = beginPageItem; i <= endPageItem; i++) { if (i == this.Query.PageIndex) { %> <li class="active"> <%= new HtmlAnchor(i.ToString()) { Href = "#" }%></li> <% } else { %> <li class=""> <%= new HtmlAnchor(i.ToString()) { Href = this.GetPageUrl(i) }%> </li> <% } } if (endPageItem < this.Query.PageCount) { //????????????????? %> <li> <%= new HtmlAnchor("...") { Href = this.GetPageUrl(endPageItem + 1) }%> </li> <% } %> <% if (this.Query.PageIndex + 1 > this.Query.PageCount) { %> <li class="disabled"> <%= new HtmlAnchor("???") { Href = "#" }%></li> <% } else { %> <li class=""> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(this.Query.PageIndex + 1) }%> </li> <% } %> <% if (this.Query.PageIndex == this.Query.PageCount) { %> <li class="disabled"> <%= new HtmlAnchor("???") { Href = "#" }%></li> <% } else { %> <li class=""> <%= new HtmlAnchor("???") { Href = this.GetPageUrl(this.Query.PageCount) }%> </li> <% } %> </ul>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de