NovelProjects

Wednesday, February 4, 2009

jQuery Paging

If you got a lot of information that you're throwing at a user, one of the best ways to split that up is to use paging. We've all seen it with search engines, but it really applies to lots of other areas as well. Sometimes it's tricky to know when to use it and when it's not necessary, but overloading a user with information can sometimes be a big turn-off.



If you've ever tried to do paging through .NET, you know it's a horrible process. Yes, it can be done, but it's painful. As I was doing a recent project, it dawned on me: why not use jQuery? It's actually the perfect solution. There's no post-backs needed, and it's ridiculously fast. We all want faster load times, and this is a great solution. I took it upon myself to write a little jQuery plugin that will do some very simple paging for you. I created a demo page that you can visit with the following link. I realize there might already be some plugins out there, but this is so light-weight and simple, I couldn't help but write it myself.



jQuery Paging Plugin

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.