Gridview HeaderText and Localization

G

Grégoire Poncet

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

Grégoire Poncet

Found it..... it was a question of quotes....
BAD: Headertext="<%$ Resources:WebTrans, Column1Header%>"
GOOD: Headertext='<%$ Resources:WebTrans, Column1Header%>'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top