15.08.2013 Views

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LanguageAPI Server Control<br />

The LanguageAPI Server Control lets a developer force a<br />

particular language for a Web site. You can do this simply by<br />

dropping the server control on the page and then choosing a<br />

language in the SiteLanguage property box. You can also override<br />

site language logic by programmatically using the LanguageAPI<br />

Server Control to detect the browsers language, and display the<br />

site in that language.<br />

This subsection contains the following topics:<br />

• ”LanguageSelect Server Control vs. LanguageAPI Server<br />

Control” on page 68<br />

• ”LanguageAPI Server Control Properties” on page 68<br />

• ”Code Behind Only Properties” on page 69<br />

LanguageSelect Server Control vs. LanguageAPI<br />

Server Control<br />

The LanguageSelect Server Control lets users view your site in the<br />

language they choose. The LanguageAPI Server Control, on the<br />

other hand, forces users to view a site in a particular language. For<br />

information on LanguageSelect, see ”LanguageSelect Server<br />

Control” on page 66.<br />

LanguageAPI Server Control Properties<br />

NOTE<br />

The LanguageAPI Server Control properties are described in this<br />

table.<br />

The following table only lists <strong>Ektron</strong>-specific properties. It does not describe native<br />

.Net properties such as font, height, width and border style. For documentation of<br />

these properties, see VisualStudio.Net help.<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> <strong>Developer</strong> <strong>Reference</strong> <strong>Manual</strong>, Version 5.1, Revision 5 68

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!