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

problem in Handling of FooterText in FooterTemplate

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
prem
Top achievements
Rank 1
prem asked on 30 Jun 2011, 12:23 PM
Hi All,

 I have make a grid with some template column. I am applying aggregate on it. It is successfully applied. But footertext handling is not proper. I want to get text value for footer from resource file. But FooterText can not do. So how we can handle footer text in footer template

<rad:GridTemplateColumn DataField="NoOfYear" UniqueName="NoOfDays"  FooterText="Can not use for multiple langages " Aggregate="Sum" GroupByExpression="NoOfDays Group By NoOfDays">
                    <HeaderTemplate>
                        <asp:Label ID="NoOfDaysHeaderLabel" runat="server" Text="code for getting text From Resouce file"/>
                    </HeaderTemplate>
                    <ItemTemplate>
                     <%#DataBinder.Eval(Container, "DataItem.NUMBER_OF_DAYS")%>                          
                       </ItemTemplate>                


                    <ItemStyle Width="3%" />                   
                </rad:GridTemplateColumn>

I want to handle footertext there      
<FooterTemplate>
                        <asp:Label ID="NoOfDaysFooterLabel" runat="server" Text="code for getting text From Resouce file"/>
                    </FooterTemplate>

Kindly provide solution.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 30 Jun 2011, 12:41 PM
Hello Prem,

Check the following help documentation which explains localization through resource files. Hope this helps.

Localization through resource files

Thanks,
Princy.
Tags
Grid
Asked by
prem
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or