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

Footer In RadGrid

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ban
Top achievements
Rank 1
Ban asked on 10 Jan 2009, 06:13 PM
Hi,
Please how can I access the footer value for a column in RadGrid ? I need to check it during my add new record ..
Thanks for your help

Ban

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 10 Jan 2009, 07:13 PM
Hello Ban,

Test the following approach:
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e) 
    if (e.CommandName == RadGrid.InitInsertCommandName) 
    { 
        GridFooterItem item = (GridFooterItem)RadGrid1.MasterTableView.GetItems(GridItemType.Footer)[0]; 
        string test = item["yourColumnName"].Text; 
    } 

Hope this helps.

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Ban
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or