I have a input tag like:
<input src="..." title="<%= SomeResource.Label1 %>" />
It is not rending the text, it is rendering the actual value in the title attribute:
<%= SomeResource.SoeLabelInMyResourceFile%>
I tried single quotes and no change, what am i doing wrong?
It is suppose to render the title attribute as:
title="some text value stored in the resource file"
So the issue is the server tags are not being rendered, rather it is thinking that is plain text I want to display for the value of the title attribute.
UPDATE
The text renders just fine if I do this:
<td>
<%= SomeResource.Label1 %>
<input src="..." title="" />
</td>
But if I put the tags inside the title attribute, I get the error.
UPDATE
1 Create service folder App_GlobalResources (Project -> Add -> ASP.NET Folder)
2 Move resx-files to this folder
3 Get access to data:
It works fine!
Try it:
or