Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 2nd, 2005, 09:46 AM
Authorized User
 
Join Date: Aug 2004
Location: memphis, tn, .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Display DataGrid footer after last row only

All:
I have a DataGrid footer which contains an image and which displays correctly after each page of five records. I want this footer to display only after the last record (row, item) more like a report footer instead of a page footer. Has anyone done this before? If so, could you perhaps post an example of your code.

TIA,

Demivolt
  #2 (permalink)  
Old August 8th, 2005, 08:50 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

DataGrid.ShowFooter = (DataGrid.PageCount-1 = DataGrid.CurrentPageIndex)

-Peter
  #3 (permalink)  
Old August 9th, 2005, 08:39 AM
Authorized User
 
Join Date: Aug 2004
Location: memphis, tn, .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Peter. That worked perfectly on the first try!



Similar Threads
Thread Thread Starter Forum Replies Last Post
Totaling columns in a footer row of a GridView psimonson ASP.NET 2.0 Basics 1 May 5th, 2008 01:34 PM
Display multiple records / row in DataGrid angshujit ASP.NET 2.0 Basics 0 January 18th, 2007 07:03 AM
display sum in footer of gridview sarah lee ASP.NET 1.0 and 1.1 Basics 3 December 27th, 2006 12:36 PM
display diff header footer pallavijyo BOOK: Professional Crystal Reports for VS.NET 1 October 5th, 2005 03:56 PM
Adding another row using footer in DataGrid liduwan ASP.NET 1.0 and 1.1 Basics 0 January 16th, 2005 11:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.