Using Localization Toolkit and Html controls

  • Thread starter Thread starter Jonas
  • Start date Start date
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
 
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
 
Back
Top