Globalization Question

V

VR

Hi, I'm facing a little problem with an ASP.Net DataList Item Template.

Inside this Template I put an asp:linkButton control and set it's text to
"Click
me".

When I tryed to get the value from a Resource with a ResourceManager
object and write it to the control's text property inside the Template I got
a blank string:

<asp:LinkButton CommandArgument="1" OnClick="DoSth">
<%= resMang.GetString("linkButtonString")%>
</asp:LinkButton>

Then I tryed to build this Template by code and things got worse, the code
above is sent right to the browser.

Does anyone knows how to use a resource string to set a web server control's
text property inside a DataList Item Template in an ASP.Net Web Form?


Thanks a lot,
Victor
 

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,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top