i am using the dataGrid with dataPager. I have big data that is about two thousand. So i can not get all data. i get ten datas for per page. Every change of page i get new 10 datas from server. So i have total data count and pagesize count, i want to show buttons according to as (total/pagesize). How can i do this.
For example :
I have 800 datas in server. I get 10 datas and pageSize = 10,
i want to show 80 buttons.