Apr 13, 2007 11:00 AM|RTernier|LINK
Thanks for the link.
What I "was" looking for (It's probably not this simple) is instead of using a .resx per page, you have a .Resx / global XML file for the entire solution that is kept in the cache. Then I would just do something like:
literal1.text = SomeFunctionOnSomeObject("ItemListHeaderText");
I Guess that would be custom though eh?
I did some searching and watched a few video's and after brain storming a bit I figured out the best way of doing it, however, I can't seem to even get anything from my Resource files.
Our MasterPage is stored in the GAC along with the CSS files so we don't need to duplicate all our code for that, but here's the layout of my site (The one WAP i'm working on)
The FieldDefinitions is a control that is placed inside the FieldData.aspx page. It's pretty much pure text, but It's easier to work with as a control. I have my FieldDefinitions resource fiels set up, and I'm trying to access them like this:
<dt><asp:Literal ID="litTextBox" runat="server" Text="test" meta:resourceKey="litTextBox" /></dt>
<dd><asp:literal ID="litTextBoxD" runat="server" Text="Test" meta:resourceKey="litTextBoxD" /></dd>
Inside the Resource files I have (Local resource files):
Canadian example (en-CA):
Value: Textbox eh?
And I can't get anything. Any thoughts / help would rock.