history.pushState in Pagination

0

I have pagination working in my .NET 8 MVC application after updating an ASP.NET MVC application using the original "MvcPaging" code. In my javascript code for the old site, called via $.ajax and onclick, I included :

                       window.history.pushState('object', 'New Title', url);
                        _gaq.push(['_trackPageview', url]);

When paging with cloudscribe the initial URL remains displayed in the browser. How can I obtain the same changed browser url when using cloudscribe?

The urls do not include any request params. they are like .../Demo/Articles/1, .../Demo/Articles/2, etc.

Now the browser url always displays ../Demo/Articles/1 regardless of the page info displayed.

Thanks for any assistance.

Answers

Your Answer

You can post an answer as guest, but some features may not be available.