Due to a user selection (dropdownlist) of the language I have to use the
Explicit localization. As I am using GridView controls I would like to be
able to bind the column header (HeaderText Property) to an entry in .resx
file.... It seems that I can't do it like: Headertext= "<%$
Resources:WebTrans, Column1Header"%>
Any Idea ?
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Grégoire Poncet
Found it..... it was a question of quotes.... BAD: Headertext="<%$ Resources:WebTrans, Column1Header%>" GOOD: Headertext='<%$ Resources:WebTrans, Column1Header%>'
"Grégoire Poncet" wrote in message news:%
Hi,
Due to a user selection (dropdownlist) of the language I have to use the Explicit localization. As I am using GridView controls I would like to be able to bind the column header (HeaderText Property) to an entry in .resx file.... It seems that I can't do it like: Headertext= "<%$ Resources:WebTrans, Column1Header"%> Any Idea ?
Thanx
Greg P.
Found it..... it was a question of quotes....
BAD: Headertext="<%$ Resources:WebTrans, Column1Header%>"
GOOD: Headertext='<%$ Resources:WebTrans, Column1Header%>'
"Grégoire Poncet" <gponcet@iware.ch> wrote in message
news:%2327do3KqFHA.2816@tk2msftngp13.phx.gbl...
Hi,
Due to a user selection (dropdownlist) of the language I have to use the
Explicit localization. As I am using GridView controls I would like to be
able to bind the column header (HeaderText Property) to an entry in .resx
file.... It seems that I can't do it like: Headertext= "<%$
Resources:WebTrans, Column1Header"%>
Any Idea ?
Found it..... it was a question of quotes.... BAD: Headertext="<%$ Resources:WebTrans, Column1Header%>" GOOD: Headertext='<%$ Resources:WebTrans, Column1Header%>'
"Grégoire Poncet" wrote in message news:%
Hi,
Due to a user selection (dropdownlist) of the language I have to use the Explicit localization. As I am using GridView controls I would like to be able to bind the column header (HeaderText Property) to an entry in .resx file.... It seems that I can't do it like: Headertext= "<%$ Resources:WebTrans, Column1Header"%> Any Idea ?