Can you elaborate a bit on your question? Are you trying to add pagination to a datagrid, listview or what? And why do you need it custom? You can of course do this with some custom buttons for next/previous pages, etc where you set the page and in the datasource you can fetch the correct results, but I'm not sure whether you will need this.
If you can elaborate a bit, we might be able to help you better.
HI Rashmi ,
Please follow the below link which have the explanation for datagrid it will be applicable same to template grid also