Last post Jul 12, 2011 10:23 AM by avandich007
Jul 08, 2011 10:13 AM|avandich007|LINK
i have 100 records and i would like to display 10 by 10 on the same page in a gridview, i don't want to use paging but i would like to have all records on the same page by clicking on button wich display 10 records , another click display the next 10 records
and so on , i will have 10,20, 30 ,.., and 100 records on the same page , by clicking on the button ...
how can i do that programatically!!
thanks a lot for help .
Jul 08, 2011 11:08 AM|swapna.anu|LINK
Why do u want a button to display the records same as paging if you dont want paging? Also using this button logic you will not be able to go back and front as you want. This will be very difficult for the user who is looking at the data.
Instead you can use a scroll bar for the gridview and maintain the gridview height to show 10 records at a time.
Hope this helps.
Jul 10, 2011 09:44 PM|Decker Dong - MSFT|LINK
Maybe you wanna get this——
Jul 12, 2011 10:20 AM|avandich007|LINK
thanks for the help . the scroll bar , and virtual scroll bar ,do my work , thanks a lot .
i would like to have all records on the same pages because in my applications i will have later to compare ,for instance,record 10 to record 40 , it is better if i have all records on the same page .
so, as i m beginner in asp.net and web applications i didn't think about scroll bar
thanks a lot
Jul 12, 2011 10:23 AM|avandich007|LINK
thanks for help. i ve had the answer in scroll bar and virtual scroll bar.
thanks a lot