My favorites | Sign in
Logo
                
Code license: Apache License 2.0
Content license: Creative Commons 3.0 BY
Labels: jQuery, Paging, Listbox, AJAX, VB.Net, C
Show all Featured wiki pages:
Implementation Options
People details
Project owners:
  mikedotmore

Paging ListboxFew months ago I posted a Javascript class on how to Implement a paging listbox using jQuery. which has drawn a lot of traffic and few questions lately so I thought it would be more convenient to rewrite the code as jQuery plugin and make few enhancements plus providing a complete sample code in VB.Net and C#.

Enhancements:

  1. Easier usage, You only need to insert a div with the class "paging-listbox" and settings inside "options" attribute to automatically have the paging listbox loaded inside that div. still you can load the listbox with regular Javascript call.
  2. Added support for right-to-left layout.
  3. You can pass additional parameters to source page via AJAX. for example a category ID that user selects from another form field and should be used to query records by on the source page.
  4. Few visual enhancements.









Hosted by Google Code