Reputation: 318
Basically, I use common AJAX techniques on action1 to send a request to action2 and then get the generated data and display on action1.
In action2 accessed by simple JS AJAX request, I return a page rendered by renderAjax, and display that HTML returned into some div element in the page of action1. That's okay. But if I try to use pagination (LinkPager) when I click on the next page link the plugin reload the page and redirect to the action2 page.
What I want is to make the pagination possible without reload, and into the page of action1. The pagination is the action2 AJAX rendered page.
OBS1: I already tried to use simple PJAX.
OBS2: I cant use GridView because of the layout I want.
Upvotes: 0
Views: 272