Class TranslationControl
public class TranslationControl : BaseUserControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IFilterResolutionService, IAttributeAccessor, INamingContainer, IUserControlDesignerAccessor
- Inheritance
-
TranslationControl
- Implements
- Inherited Members
Constructors
TranslationControl()
public TranslationControl()
Fields
CommonScript
CommonScript control.
protected PageFooterContent CommonScript
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
CustomLabel
public const string CustomLabel = "Custom Translation for <strong>{0}</strong>"
Field Value
DefaultLanguageSelector
DefaultLanguageSelector control.
protected LanguageComboBox DefaultLanguageSelector
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
DefaultLiteral
DefaultLiteral control.
protected HtmlGenericControl DefaultLiteral
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
DefaultText
DefaultText control.
protected TextBox DefaultText
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
IsOrganizationSpecific
IsOrganizationSpecific control.
protected CheckBox IsOrganizationSpecific
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
OrganizationSpecificRow
OrganizationSpecificRow control.
protected HtmlGenericControl OrganizationSpecificRow
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
OtherTranslations
OtherTranslations control.
protected Repeater OtherTranslations
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
RequestGoogleTranslation
RequestGoogleTranslation control.
protected IconButton RequestGoogleTranslation
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
RequiredValidator
RequiredValidator control.
protected RequiredValidator RequiredValidator
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
SelectButton
SelectButton control.
protected Button SelectButton
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
SelectedLanguageCode
SelectedLanguageCode control.
protected HiddenField SelectedLanguageCode
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
TranslatedLanguageSelector
TranslatedLanguageSelector control.
protected LanguageComboBox TranslatedLanguageSelector
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
TranslatedText
TranslatedText control.
protected TextBox TranslatedText
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
TranslatedTextRow
TranslatedTextRow control.
protected HtmlGenericControl TranslatedTextRow
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
TranslationColumn
TranslationColumn control.
protected HtmlGenericControl TranslationColumn
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
Properties
AllowOrganizationSpecific
public bool AllowOrganizationSpecific { get; set; }
Property Value
DefaultLanguage
public string DefaultLanguage { get; set; }
Property Value
IncludeLanguage
public string[] IncludeLanguage { get; set; }
Property Value
- string[]
Required
public bool Required { get; set; }
Property Value
ShowExcludedLanguage
public bool ShowExcludedLanguage { get; set; }
Property Value
TextMode
public TextBoxMode TextMode { get; set; }
Property Value
Methods
GetTranslation()
public string GetTranslation()
Returns
OnInit(EventArgs)
protected override void OnInit(EventArgs e)
Parameters
OnLoad(EventArgs)
protected override void OnLoad(EventArgs e)
Parameters
OnPreRender(EventArgs)
protected override void OnPreRender(EventArgs e)
Parameters
SetDefault()
public void SetDefault()
SetTranslation(string, string)
public void SetTranslation(string translation, string language)