Customize Paging URL in ASP.NET MVC

Jul 1, 2013 at 10:59 PM
Hi,

I am using PagedList api for pagination in ASP.NET MVC 4 application. I want to navigate page links in following ways:
  1. ~/home/list/page-1, ~/home/list/page-2,.....~/home/list/page-N
  2. ~/home/list-email/page-1, ~/home/list-email/page-2,.....~/home/list-email/page-N
I want to keep 'list' and 'list-email' as action and 'home' as controller.

How to configure RouteConfig for this?

Please help.

Thanks,
Coordinator
Jul 2, 2013 at 8:56 AM
Hi,
Is this related to Nearforums?
Route.config file is a custom configuration file that was developed for Nearforums.
You can check how it works looking at the source code but we don't provide support for that :)
Start here: https://nearforums.codeplex.com/SourceControl/latest#solution/NearForums.Web/Extensions/RoutingHelper.cs

Kind Regards,
J