I’m required to print a value of a string which within a resource files (.resx) within asp.net tags
i used the following approaches
for example :
<ext:ComboBox ID="cmbProgram" runat="server" FieldLabel="<%= Resource.StringName %>"
<ext:ComboBox ID="cmbProgram" runat="server" FieldLabel="<%= Response.Write(Resource.StringName) %>"
But both approaches didin’t provide the value of the string, but provides the ID. How to get the values within the ASP.NET tags?
Assuming you have
Control.ascx:Then put
Controls.ascx.resxinApp_LocalResourcescontaining appropriate strings: