This is a migrated thread and some comments may be shown as answers.

[Solved] Enter data in FooterItem

2 Answers 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rob Venable
Top achievements
Rank 1
Rob Venable asked on 07 Feb 2010, 07:36 PM
Hi,
I know you can enter totals in the footer row
Dim boundItem As GridFooterItem = CType(e.Item, GridFooterItem)  
dim str as String = "200.00" 
boundItem("SubTotal").Text = str  
 
but I need to show the taxes as well as the shipping costs and a Grand total. The taxes need to be dynamic as clients will have to set up their own taxes. Is it possible to put a repeater in the footer of a radgrid. I know it can be done by concatenating a string with <br> tags but there must be a better way.
This is what I want to achieve:

Total:             $200.00
P.S.T.:             $16.00
G.S.T.:             $10.00
Shipping:         $21.00
Grand Total:  $247.00

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 08 Feb 2010, 07:20 AM
Hi,

Inorder to dynamically update the footer based on changes made by the user in a row , you can refer to the help link below. You will find the explanation to this at the end of the help doc.

Client-side calculation of totals for a template column


Here are some links on how to set the column footer.
Grid / Footer Aggregates
Totals in grid footers

Hope this helps.

Thanks,
Princy

0
Rob Venable
Top achievements
Rank 1
answered on 10 Feb 2010, 03:50 PM
Thanks Princy. That did the job.
Tags
Grid
Asked by
Rob Venable
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Rob Venable
Top achievements
Rank 1
Share this question
or