Class BaseUserControl
public class BaseUserControl : UserControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IFilterResolutionService, IAttributeAccessor, INamingContainer, IUserControlDesignerAccessor
- Inheritance
-
BaseUserControl
- Implements
- Derived
- Inherited Members
Constructors
BaseUserControl()
public BaseUserControl()
Fields
Visibility
protected ControlVisibilityHelper Visibility
Field Value
Properties
CurrentLanguage
public string CurrentLanguage { get; }
Property Value
Identity
protected static ISecurityFramework Identity { get; }
Property Value
IsBaseControlInited
protected bool IsBaseControlInited { get; }
Property Value
IsBaseControlLoaded
protected bool IsBaseControlLoaded { get; }
Property Value
Organization
protected static OrganizationState Organization { get; }
Property Value
Route
protected WebRoute Route { get; }
Property Value
User
protected static User User { get; }
Property Value
ValidationGroup
public string ValidationGroup { get; set; }
Property Value
Methods
FormatDate(object)
protected static string FormatDate(object date)
Parameters
dateobject
Returns
GetDisplayText(string)
protected string GetDisplayText(string attribute)
Parameters
attributestring
Returns
GetEmbededHelpContent(string)
protected string GetEmbededHelpContent(string fragment = null)
Parameters
fragmentstring
Returns
IsContentItem(DataControlRowType)
protected static bool IsContentItem(DataControlRowType type)
Parameters
typeDataControlRowType
Returns
IsContentItem(GridViewRow)
protected static bool IsContentItem(GridViewRow row)
Parameters
rowGridViewRow
Returns
IsContentItem(GridViewRowEventArgs)
protected static bool IsContentItem(GridViewRowEventArgs e)
Parameters
Returns
IsContentItem(RepeaterItem)
protected static bool IsContentItem(RepeaterItem item)
Parameters
itemRepeaterItem
Returns
IsContentItem(RepeaterItemEventArgs)
protected static bool IsContentItem(RepeaterItemEventArgs e)
Parameters
Returns
LocalizeDate(object, bool)
protected string LocalizeDate(object o, bool shortFormat = true)
Parameters
Returns
LocalizeTime(object, string, bool)
protected string LocalizeTime(object time, string element = null, bool isHtml = true)
Parameters
Returns
OnInit(EventArgs)
protected override void OnInit(EventArgs e)
Parameters
OnLoad(EventArgs)
protected override void OnLoad(EventArgs e)
Parameters
SetupValidationGroup(string)
protected virtual void SetupValidationGroup(string groupName)
Parameters
groupNamestring
Translate(ComboBox)
protected void Translate(ComboBox cb)
Parameters
cbComboBox
Translate(string)
protected string Translate(string text)
Parameters
textstring
Returns
Translate(string, string, string)
protected string Translate(string from, string to, string input)