Datagrid - Custom Paging w/Buttons

Results 1 to 2 of 2

Thread: Datagrid - Custom Paging w/Buttons

  1. #1
    Join Date
    Dec 1969

    Default Datagrid - Custom Paging w/Buttons

    I'm looking for a little guidance in replacing the datagrid's default paging controls with a pair of image buttons (previous & next). I had thought that it'd be as simple as dimensioning a variable, setting its value to (dataGrid.currentpageindex + 1), and calling System.Web.UI.WebControls.DataGridPageChangedEvent Args with the value...but there must be much more to it than this; System.Web.UI.WebControls.DataGridPageChangedEvent Args is expecting something other than an integer. Any ideas? Thanks!

  2. #2
    Join Date
    Dec 1969

    Default RE: Datagrid - Custom Paging w/Buttons

    Not sure if this will work but try to put the src to the image in the text section.<BR><BR>Something like:<BR>PagerStyle-PrevPageText="&#060;img src=&#039;images/Next.gif&#039; border=&#039;0&#039;&#062;"<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts