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

Set TemplateColumn Footer from C#

2 Answers 22 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Javad Davari
Top achievements
Rank 1
Javad Davari asked on 25 Sep 2008, 06:56 AM

Hello

i have a GridTemplateColumn that this column have a sub column.
this sub column type is numerical
i want add a sum of this column in footer

i previus do this for GridBounColumn with below code

if (e.Item is GridFooterItem)
{
            GridFooterItem FooterItem = e.Item as GridFooterItem;
            FooterItem["PriceTest"].Text = String.Format("{0:n0}", Convert.ToDouble(Sum_Total));
 }

Can I Do this

Thanks
Davari

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 26 Sep 2008, 01:25 PM
Hello Javad,

You can go through the following online demo to populate the footer template of a TemplateColumn.
RadNumericTextBox for RadGrid footer totals

Thanks
Princy.
0
Princy
Top achievements
Rank 2
answered on 26 Sep 2008, 01:25 PM
 
Tags
Grid
Asked by
Javad Davari
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or