GetLocalResourceObject in Master Page

J

John Baima

I am trying to make a template out of a Master Page + some other
things and I wanted to localize everything so I used the Tools |
Generate Local Resource command. That removed some of the text, but
for the regular text, I edited the default.master.resx file and added
some rows. However, when I just add a statement like:

<%GetLocalResourceObject("slogan").ToString();%>

to replace the text, it does not work. Any suggestions?

-John
 
J

John Baima

I am trying to make a template out of a Master Page + some other
things and I wanted to localize everything so I used the Tools |
Generate Local Resource command. That removed some of the text, but
for the regular text, I edited the default.master.resx file and added
some rows. However, when I just add a statement like:

<%GetLocalResourceObject("slogan").ToString();%>

to replace the text, it does not work. Any suggestions?

Can this be done with GetGlobalResource() ??
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top