Hello !
i would like to do the same think the is working:
<
asp:Label
CssClass
=
"edInline"
ID
=
"LblActif"
Width
=
"115px"
runat
=
"server"
><%= DatabaseResourceManager.Translate("5031/Actif")%></
asp:Label
>
i m calling a c# class to translate my text with the database text corresponding in the good language and it works good, i would like to do the same with columns in the aspx file not in code behind but this doesn't seems to work :
<
telerik:GridBoundColumn
DataField
=
"LastName"
FilterControlAltText
=
"Filter column column"
HeaderText='<%= DatabaseResourceManager.Translate("5914/:Nom")%>' UniqueName="LastName">
</
telerik:GridBoundColumn
>
some help ?
[EDIT]
Ok I found a way to solve it (the night is good to think :-) )
<
telerik:GridTemplateColumn
>
<
HeaderTemplate
>
<
asp:Label
ID
=
"clLblLastName"
runat
=
"server"
><%= DatabaseResourceManager.Translate("5914/Nom") %></
asp:Label
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
asp:Label
runat
=
"server"
ID
=
"clTxtLastName"
Text='<%# Eval("LastName") %>'></
asp:Label
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>