I have a gridtemplatecolumn (see code below) the filter works fine but the sorting doesn't, the header is not clickable for sorting. Once I take out the binding in HeaderTemplate the sorting worked. I need to have this binding for runtime defined currency symbol, is there a way that i can make the sorting work on this column with this type of binding on headertemplate?
| <telerik:GridTemplateColumn ItemStyle-HorizontalAlign="Right" HeaderStyle-Width="60px" FilterControlWidth="60px" UniqueName="theAmount" DataField="theAmount" SortExpression="theAmount"> |
| <HeaderTemplate> |
| <%# "theAmount (" + MY_BLL.Settings.Default.CurrencySymbol + ")"%> |
| </HeaderTemplate> |
| <ItemTemplate> |
| <%# Eval("theAmount", "{0:N}")%> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |