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

Adding footer text for gridcalculated column programmatically

1 Answer 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Venkatesh
Top achievements
Rank 1
Venkatesh asked on 13 Dec 2012, 06:16 AM
HI,
Is it possible to add the Footer text for the gridcalculated column programmatically ( c# )?

If yes, how to achieve it?

Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 Dec 2012, 06:22 AM
Hi,

Try the following code.
C#:
protected void RadGrid2_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
    if (e.Item is GridFooterItem)
    {
        GridFooterItem item = (GridFooterItem)e.Item;
        item["UniqueName"].Text = "text";
    }
}

Thanks,
Shinu.
Tags
Grid
Asked by
Venkatesh
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or