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

  • SEARCH
  • Home
  • 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 6165237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:07:52+00:00 2026-05-23T22:07:52+00:00

my radgrid column like below : <telerik:GridTemplateColumn FilterControlAltText=Filter TemplateColumn_Benefit DataField=Benefit HeaderText=Benefit UniqueName=TemplateColumn_Benefit FilterImageToolTip=Filter> <ItemTemplate>

  • 0

my radgrid column like below :

<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>  

how can i String.Format(reformat) Sum result in footer for this template column ?
mean i want something like {0:#,0 Dollar;#,0- Dollar} in output…

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-23T22:07:53+00:00Added an answer on May 23, 2026 at 10:07 pm

    the below link solved my problem :

    http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/aggregates/defaultcs.aspx

    /// <summary>
    /// The MasterTableView.DataBinding event is used to preserve the applied formatting to
    /// data values in the column aggregate and still be able to add the name of the currently
    /// selected aggregate function.
    /// </summary>
    protected void MasterTableView_DataBinding(object sender, EventArgs e)
    {
        GridNumericColumn unitPriceCol = RadGrid1.MasterTableView.GetColumnSafe("UnitPrice") as GridNumericColumn;
        unitPriceCol.FooterAggregateFormatString = unitPriceCol.Aggregate.ToString() + ": {0:C}";
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my TemplateColumn In RadGrid (Telerik) is like below : <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn_Benefit" HeaderText="Benefit" UniqueName="TemplateColumn_Benefit"
So I've got the following column defined in my radgrid: <telerik:GridTemplateColumn DataField=Payment.Customer.FirstName DataType=System.String HeaderText=First
I have a Telerik's RadGrid which has 2 columns like this: <Columns> <telerik:GridBoundColumn HeaderText=AirlineCode
<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'm trying to add a custom filter to my RadGrid. I have a column,
I have a Telerik RadGrid with a GridTemplateColumn that contains a checkbox, as follows:
I have a RadGrid from Telerik with a GridClientSelectColumn column. When the user checks
i have a rad grid with the following code <telerik:GridTemplateColumn> <ItemTemplate> <asp:LinkButton ID=Delete Text=Remove
I have problems binding both a telerik RadGrid and a plain vanilla ASP.NET GridView
I am intercepting the update operation for a RadGrid. like this e.Canceled = true;

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.