meta:resourcekey=\"WizardStep1Resource1\"
This is what I use to access a App_LocalResources
.
How do I access a resource in A
There are 2 ways to access a Global resources from C# code and from javascript functions. Below you can see both ways.
Imagine that you created a Global resource named WholeSite, inside you have a row named UnexpectedError.
txTitle is TextBox field.
C# Code:
txtTitle.Text = Resources.WholeSite.UnexpectedError;
Javascript/.aspx:
alert("<%= Resources.WholeSite.UnexpectedError %>");