MVC Design Question

Posted by user325142 on Stack Overflow See other posts from Stack Overflow or by user325142
Published on 2010-05-04T18:20:27Z Indexed on 2010/05/04 18:28 UTC
Read the original article Hit count: 157

Filed under:
|

I'm trying to build a pager where it's just Next / Previous buttons that call a jquery function that post a JSON request. Inside the function, the current page "index" is retrieved from a hidden field and passed to the controller. Inside the controller, I reset the index if I'm on the last page of data. How would I pass the new index value back to the view? Or is there a better way to do what i'm trying to do?

Thanks

© Stack Overflow or respective owner

Related posts about mvc

Related posts about jQuery