pagination problem

hi all

i've 2 methods one contains details of posts and i used pagination for that and if i used edit on posts(through gui ) then another method is called and i passed only the post id through javascript . so after editing the post if i click on a button to see all posts it goes to the first method but it shows only the first 10 if i edited the 11th post        i want the page to be displayed (i,e; 2nd page if i give per_page=>10)   how can i do that

    please reply