MacD Level: Big Cheese
 Registered: 06-01-2004 Posts: 19
|
Re: how to add images in the pager bar of datagrid ?
Hi,
This is what you do.
Set the PagerStyle Mode property of your datagrid to NextPrev. Then go to your HTML code on the PagerStyle tag.
On the NextPageText attribute of this tag give it a value "<img src='X' border=0>" and on your PrevPageText attribute give it the value "<img src='images\X'> border=0". In essence your PagerStyle tag should look like the one below:
<PagerStyle NextPageText"<img src='X' border=0>" PrevPageText"<img src='X' border=0>"></PagerStyle>
Where
X = URL where the image that you want to use is located e.g images\next.gif.
I hope this will assist you.
Have a good day.
Regards,
____________________________
MacD
|