We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

how to do paging in classic asp with dropdownRSS

2 replies

Last post Nov 09, 2017 09:54 AM by Classic_Asp_Guy

  • how to do paging in classic asp with dropdown

    Nov 07, 2017 09:49 AM|ravivani|LINK

    hi all 

    my requirement is i have to do pagination using dropdown on select if i select 20 20 records should show and if i select 30 30 records should show  i want by classic asp 

  • Re: how to do paging in classic asp with dropdown

    Nov 08, 2017 05:34 AM|Fei Han - MSFT|LINK

    Hi ravivani,

    To implement paging, you can try these strategies:

    1. You can try to use AJAX to make request to server and get the data, and then you can use some jQuery datatable plugin with pagination and populate datatable plugin with your data.
    2. You can also do paging on server side. You can pass dropdown selected value as “PageSize”, and then you can pass “PageSize” and “CurrentPageIndex” to server side method and do a query from your database to retrieve paged records.     

    With Regards,

    Fei Han

  • Re: how to do paging in classic asp with dropdown

    Nov 09, 2017 09:54 AM|Classic_Asp_Guy|LINK

    Hi Ravivani

    Following on from suggestion 1, I've used the Datatable jquery plug in (https://datatables.net/) on Classic ASP projects, it's a simple and quick way of doing what you need without having to write too much code yourself.