Using Localization Toolkit and Html controls

J

Jonas

Hi!

I'm using the Localization Toolkit from Microsoft to localize my ASP.NET
app. It works fine for controls derived from System.Web.UI.WebControls, like
asp:label, asp:textbox and so on. But when I try to use it with controls
derived from System.Web.UI.HtmlControls it doesn't work anymore. In the
documentation it says that all controls derived from the two above mentioned
classes should work.

I want to localize the contents of a td-tag, like this:

<td Key="localizeKey">Localize This Text</td>

Brgds

Jonas
 
J

Jonas

I was a little to quick to post the question, I just found out how to do
this.

If I add the runat=server attribute to the td tag, it works like it should.

Brgds

Jonas
 

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,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top