How do I save _page number?


Do you have to configure the urlManager?

I do not see the _page in the url and do not know how to capture it.

Can someone give me an example?


What are you using? CGridView? if yes the just add ‘ajaxUpdate’=>false

<?php $this->widget('zii.widgets.grid.CGridView', array(







Thank you so much,

I have it working now.

Just curious, is there any way to grab the page number if ajax is used?

You can use ?page=2 after the url to go to that page, see

You can also capture that url parameter in your controller where the cgridview is generated

Thanks for the link.

Just what I was looking for.