custom link format for DataPager's NumericPagerField

  • Thread starter Thread starter Adam The Generic
  • Start date Start date
A

Adam The Generic

Hi All,

My question is about the DataPager.
I use the QueryStringField property of the DataPager to use queries for
paging,

My DataPager section is :

<asp:DataPager ID="DataPager1" QueryStringField="PageNo" PageSize="2"
PagedControlID="ListView1" runat="server">
<Fields>
<asp:NumericPagerField />
</Fields>
</asp:DataPager>

On runtime, numeric paging system works with links like
http://localhost/ProductList.aspx?PageNo=2, because of QueryStringField
property.

My question is, is it possible to change the format of this links ?
For example , can i rewrite above link to http://localhost/someText/page-2/

I need this, because i use Intelligencia.UrlRewriter library to rewrite the
url of this page and the url format should be /page-([0-9]+)/

Thanks in advance..
 
Back
Top