Accessing footer in datagrid

Results 1 to 2 of 2

Thread: Accessing footer in datagrid

  1. #1
    Join Date
    Dec 1969

    Default Accessing footer in datagrid

    I&#039;m using Scott Mitchell&#039;s tips to create a fully editable datagrid and it&#039;s working great. My only problem is trying to figure out how to access the footer item, so that I can update a total. When the ItemDataBound event is fired, it fires for the footer item as well. But if I loop through the items collection of the grid at some other point, it does not include the footer, only the data rows. I&#039;m trying to add a recalculate button to my page that will recalculate the totals in the footer after someone edits a cell. Or any way to update the total without having to save the data back to the database and rebind it. Any ideas? Any help is much appreciated!<BR>

  2. #2

    Default RE: Accessing footer in datagrid

    try going through the controls collection instead of items

Posting Permissions

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