protected override void RenderContents(HtmlTextWriter writer) { TranslationUtil.ApplyTranslation(this); PermissionUtil.ApplyPermission(this); base.RenderContents(writer); }
protected override void OnPreRender(EventArgs e) { TranslationUtil.ApplyTranslation(this); PermissionUtil.ApplyPermission(this); base.OnPreRender(e); }
protected override void OnPreRender(EventArgs e) { TranslationUtil.ApplyTranslation(this); PermissionUtil.ApplyPermission(this); if (!Enabled) { OnClientClick = String.Empty; } base.OnPreRender(e); }
public DefaultTranslatable(StateBag viewState, String trnKey, String text, bool translate) { ViewState = viewState; TrnKey = trnKey; Text = text; Translated = translate; if (translate) { TranslationUtil.ApplyTranslation(this); } }
protected override void RenderContents(HtmlTextWriter writer) { TranslationUtil.ApplyTranslation(this); PermissionUtil.ApplyPermission(this); if (!Enabled) { OnClientClick = String.Empty; } if (!String.IsNullOrWhiteSpace(NavigateUrl)) { hyperLink.RenderControl(writer); } else { base.RenderContents(writer); } }