Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6154915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:20:31+00:00 2026-05-23T20:20:31+00:00

my TemplateColumn In RadGrid (Telerik) is like below : <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn_Benefit" HeaderText="Benefit" UniqueName="TemplateColumn_Benefit"

  • 0

my TemplateColumn In RadGrid (Telerik) is like below :

                    <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn_Benefit"
                        HeaderText="Benefit" UniqueName="TemplateColumn_Benefit" FilterImageToolTip="Filter">
                        <ItemTemplate>
                            <asp:Label ID="lblBenefitInsideGrd" runat="server" Font-Size="11px" Text='<%# (bool)Convert.IsDBNull(Eval("Benefit")) ? "<span class=\"lblInsideGrd\">Empty</span>" : String.Format("{0:#,0 Dollar;#,0- Dollar}", Eval("Benefit")) %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" />
                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" />
                    </telerik:GridTemplateColumn>  

the showfooter property of RadGrid Is true …
when add the below properties to this template column , so we will have an exeption …

properties : FooterText="my sum" Aggregate="Sum"

error message : Sum is not supported for type "System.Object"

how can i have sum of such these columns in radgrid ?

thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:20:31+00:00Added an answer on May 23, 2026 at 8:20 pm

    You have to add the DataField=”Benefit” to the GridTemplateColumn.

                   <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn_Benefit" DataField="Benefit"
                        HeaderText="Benefit" UniqueName="TemplateColumn_Benefit" FilterImageToolTip="Filter">
                        <ItemTemplate>
                            <asp:Label ID="lblBenefitInsideGrd" runat="server" Font-Size="11px" Text='<%# (bool)Convert.IsDBNull(Eval("Benefit")) ? "<span class=\"lblInsideGrd\">Empty</span>" : String.Format("{0:#,0 Dollar;#,0- Dollar}", Eval("Benefit")) %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" />
                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" />
                    </telerik:GridTemplateColumn>  
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my radgrid column like below : <telerik:GridTemplateColumn FilterControlAltText=Filter TemplateColumn_Benefit DataField=Benefit HeaderText=Benefit UniqueName=TemplateColumn_Benefit FilterImageToolTip=Filter> <ItemTemplate>
I have a TemplateColumn in my telerik radgird like below : <telerik:GridTemplateColumn FilterControlAltText=Filter TemplateColumn_Commands
i have a BooundColumn in my telerik RadGrid like below : <telerik:GridBoundColumn DataField=Status FilterControlAltText=Filter
<telerik:RadGrid ID=RGStyleGuideRestrictions runat=server DataSourceID=SqlDataSource1 OnItemCommand=RGStyleGuideRestrictions_ItemCommand <MasterTableView DataSourceID=SqlDataSource1 DataKeyNames=TerritoryReportGroup> <Columns> <telerik:GridTemplateColumn UniqueName=TemplateColumn> <ItemTemplate> <asp:ImageButton ID=imgBtn1
I have a gridview that looks something like this: <TemplateColumn> <ItemTemplate> <a href='<%#Eval(FilePathUrl)%>'>FileName</a> </ItemTemplate>
I have a datagrid with linkbutton inside it. <asp:DataGrid id=listDataGrid Runat=server> <Columns> <asp:TemplateColumn HeaderText=Item
I have two GridTemplateColumn s in my RadGrid . The default filtering doesn't work
Right now I have a datagrid with a template column as follows: <asp:TemplateColumn> <ItemTemplate>
I have an asp:DataGrid with templated columns. Here's one of those columns: <asp:TemplateColumn> <ItemTemplate>
I have a radgrid and within said radgrid, I have a templatecolumn that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.