Latest Dal Posts 

Read all about the topic Dal on jQuery Mastery - We give you the keys to unlock the true potential web UI design. Browse through articles written on this subject below, or check our tag cloud to see if you find anything interesting. As always, you can visit our home page to find the latest posts or view our RSS feed or get the current posts on this topic on our Dal RSS feed.

jQuery & Ajax Fun: Implementing a Paging Listbox

Many times in web forms we need to provide a listbox with lots of elements, A good solution is to filter and page these elements to speedup page loading and optimize DB/Network usage..

This is a complete implementation of a paging listbox using jQuery on client side and ASP.Net on server side. and should look like this..

The form web page, which also contains the JavaScript class to build the select box, of course don't forget to download the jQuery library.
<html>
<head>
<title>jQuery & Ajax Fun: Implementing a Paging Listbox</title>
<script type="text/javascript" src="JS/jquery-1.3.min.js"></script>
<script type="text/javascript">
function AjaxListBox() {
   this.source = '';
   this.divID= '';
   this.keyID= '';
   this.buttevent_event_on__ID='';
   this.lastKey= '';
   this.startup= true;
   this.minWidth=0;
   this.position [...]

Post Thanks More Tech Tips!!

Tags: HTML, Asp.net, Paging, Ajax, Javascript, jQuery, Dal, OOP

Monday, February 9th, 2009 No comments