0

I use paging control of dnn for pagination:

<dnn:PagingControl id="ctlPagingControl" runat="server" Mode="PostBack"></dnn:PagingControl>

and it works. i want to show currentpage in the url when page is changed.

the url is now : localhost/dnn/en-us/page/module.aspx

and i want to show: localhost/dnn/en-us/currentpage/2/page/module.aspx/ when go to page 2.

how can i do that?

ThinkingStiff
  • 64,767
  • 30
  • 146
  • 239
atabrizi
  • 908
  • 1
  • 13
  • 29

2 Answers2

1

Change Mode to URL to have the page numbers in the URL.

bdukes
  • 152,002
  • 23
  • 148
  • 175
0

I delete Mode="PostBack" an then use QuerystringParams property of pagingControl.

and get currentpage from querystring.

it works

atabrizi
  • 908
  • 1
  • 13
  • 29