Retruning to same page after update, in pagination


I have a model mobile. in the action "Manage Mobile" im using the default pagination generated by CRUD generator. Now say I am on page number 6 in manage mobile and i click on update icon against a particular record, i got to update form. I want that after updating a record i should return to same page number 6 of manage mobile. But i always return to first page.

Is there any work around to this.

Please guide


Sukhwinder Singh

There have been some post about it.

You can pass as post/get var to the update the number of page, and then redirect to the correct page.

You may add an hiddn field in the form in order to keep this value among posts (if the user submit more than once the form).

You may find some coded advice searching in the forum.