OK, here is what I am trying to do. I have a grid and the customer wants totals at the bottom. Here is an example of the columns in the grid.
Here is an the code from the itemdatabound event.
At the end I am taking the rulesidentified variable and trying to set the footer.
I am not getting the footer to show anything. What am I doing wrong?
<telerik:GridBoundColumn DataField="RulesIdentifiedCount" HeaderText="Rules Identified" Visible="true" UniqueName="RulesIdentifiedCount"> </telerik:GridBoundColumn>
Dim
rulesidentified As Integer = 0
If dtr.Read() Then gridItem("RulesIdentifiedCount").Text = dtr("RulesIdentifiedCount") rulesidentified = rulesidentified = dtr("RulesIdentifiedCount") End IfAt the end I am taking the rulesidentified variable and trying to set the footer.
If (TypeOf e.Item Is GridFooterItem) Then Dim footerItem As GridFooterItem = CType(e.Item, GridFooterItem) footerItem("RulesApplicableCount").Text = rulesidentified End IfI am not getting the footer to show anything. What am I doing wrong?