Ektron CMS400.Net Reference
The LanguageSelect server control displays a language selection dropdown list on an Ektron CMS400.NET Web page.
This control lets a site visitor select a language in which to view the site. Here is what the control looks like when published on a Web page.
It lists all languages selected on the Settings > Configuration > Language settings screen. (For more information, see Working with Multi-Language Content.)
You can place this control in any location of any page on your site. On the sample site, it appears in the lower left corner of the home page.
The LanguageSelect server control lets users view your site in the language they choose. The LanguageAPI server control, on the other hand, forces users to view a site in a particular language. For information on LanguageAPI, see LanguageAPI Server Control.
The following table explains the properties of the LanguageSelect control.
Note: The following table only lists Ektron-specific properties. It does not describe native .NET properties such as font, height, width and border style. For documentation of these properties, see Visual Studio help.
Property |
Value |
Data Type |
Authenticated |
Indicates if you are logged in to the CMS Explorer and can use it to browse to Content, Collections, etc. See Also: Using CMS Explorer to Browse Your Ektron CMS400.NET Site |
String |
DoInitFill |
By default, Fill occurs during the Page_Init event. Set to false if you want to postpone the fill-action until later. In this case, FIll is automatically called during the Page Render event. You might do this if you need to set or change a property on the control in codebehind and have it render with your changes shown. |
Boolean |
Hide |
Used to hide language select dropdown box and label in design time and run time. True = Hide language select dropdown box and label False = Show language select dropdown box and label |
Boolean |
LabelName |
Lets you define the label next to the language select dropdown box. |
String |
Language |
Set a language for the Language Select Box. This property shows results in design-time (in Visual Studio) and at run-time (in a browser). |
Integer |
SuppressWrapperTags |
Suppresses the output of the span/div tags around the control. The default is False. True - Suppress wrap tags. False - Allow wrap tags. |
Boolean |
WrapTag |
Allows a developer to specify a server control’s tag. The default is Span. Span - The <span> tag is used to designate an in-line portion of an HTML document as a span element. Div - The <div> tag is used when you want to apply attributes to a block of code. Custom - Allows you to use a custom tag. |
String |