6 Answers, 1 is accepted
I am not quite sure about your requirement. If you want to set footer text for a column try the following code snippet.
FooterText = "Cart Total: " + DataSet.Tables.Rows["CartTotal"].ToString();
telerik:GridBoundColumn DataField="CartTotal" FooterText="Cart Total: <%#Bind("CartTotal")%>" />
Or something like that so I can get a datafield in the footer text. I do not want any calculations done, this is being done in SQL, I want to just display the field in the footer text.
As Princy showed, you need to use RadGrid's ItemDataBound event to get the footer cell and set its text. You cannot bind a footer cell text to a data field, because the footer is not databound to a grid record.
the Telerik team