[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Steve Hindmarsh

1/14/2003 6:17:00 PM

Can anybody help me reformat the pager header for a
DataGrid to read something like this:

Pages: 1 2 3 4 5 of 10

I've tried using the ItemCreated event of the Datagrid
but if I set the e.Item.Cells(0).Text property using:

e.Item.Cells(0).Text = "Page: " & e.Item.Cells(0).Text _
& " of " & Me.StaffDataGrid.PageCount

I only get "Page: of 2".

Does anybody know when the <span>1</span> tags etc. are
written to the pager header cell and if you can ammend
them after?

As far as I'm aware I don't need the 'AllowCustomPaging'
property set for this as that deals with custom data
logic I think.

Any help would sure be appreciated.

Steve Hindmarsh