Using the Localize Control

The ASP.NET Framework includes a control named the Localize control, which is included in Framework to make it easier to localize big chunks of text in a page.

For example, the page in Listing 30.25 uses the Localize control in the body of the page.

Listing 30.25. ShowLocalizeControl.aspx

images

The Localize control is similar to the Literal control (it derives from the Literal control). In Source View, there is nothing that distinguishes the two controls. The difference between the Localize control and Literal control is apparent only in Design View. Unlike the Literal control, the contents of the Localize control can ...

Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.