im now developing some projects in asp.net.
I noticed that almost every page i need datagrid control to display records.
For every datagrid i need to set up the pageSize and headers sort functions.
i believe i will need to do so dozens of time.
Is there any way to encapsulate the pagesize and sort functions for all
datagrid?
where to start?should i develop custom server control?
any help or thinking direction will be great.