I’m looking for a good technique on paging List Views
Currently I’m building a Active Directory (LDAP) Manager for a company I Work for, the company has over 12K Employees across the board and we need to be able to navigate through these with ease
The two types of pagination I’m considering are:
- Binding a
< >at the top right of the control, which will calculate the offset by(page * limit) - 1
And the other way which I would prefer to do is:
- Having several tabs listing
a-fwhich would sort the lists by their first char and see if within range.
I’m stuck for ways to do this; has anyone got any good examples or resources?
The data is coming is coming in with 1 main request and stored in memory, soon to be stored in a cached XML file to free the memory, so if reading from that would be faster then that’s OK.
I’m using .NET Framework 4.0 and bound to WinForms.
You’d want to ask for paged data at your LDAP layer of your applicaiton, The gui will just display the page asking for what page number you want to show. Now as far as LDAP, I believe the DirectorySearcher class of System.DirectoryServices has capabilities for pagination:
http://msdn.microsoft.com/en-us/library/system.directoryservices.directorysearcher(VS.80).aspx