Last Updated: 10 Sep 2014 12:14 by ADMIN
Created on: 12 Apr 2013 13:44
Category: DataPager
Type: Feature Request
Modify datapager base url (more control)
I would like more control over the data pagers rendered page numbers.

It's very simple thing I need... 

...this isn't a route handled by MVC\ASP or anything where I can give it an SEO name or route name or whatever.  It's a sitefinity route which uses another mechanism the datapager doesn't understand.

AND THAT'S FINE! :)  ...just give me the ability to define the route "path" I guess like even something as simple as a String.Format..."RouteFormat" property or something


(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
Posted on: 10 Sep 2014 12:14
If you use routing with the DataPager you can achieve the desired functionality. With properly constructed rout like following the pager will work as expected:
private void RegisterRoutes(System.Web.Routing.RouteCollection routes)
    routes.MapPageRoute("SeoRouting", "page/{pager}", "~/DataPagerRouting.aspx", true, new System.Web.Routing.RouteValueDictionary{ { "pager", "1" } });
More information you can find here: