Table of Contents

Class BaseUserControl

Namespace
InSite.Common.Web.UI
Assembly
InSite.UI.dll
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

ControlVisibilityHelper

Properties

CurrentLanguage

public string CurrentLanguage { get; }

Property Value

string

Identity

protected static ISecurityFramework Identity { get; }

Property Value

ISecurityFramework

IsBaseControlInited

protected bool IsBaseControlInited { get; }

Property Value

bool

IsBaseControlLoaded

protected bool IsBaseControlLoaded { get; }

Property Value

bool

Organization

protected static OrganizationState Organization { get; }

Property Value

OrganizationState

Route

protected WebRoute Route { get; }

Property Value

WebRoute

User

protected static User User { get; }

Property Value

User

ValidationGroup

public string ValidationGroup { get; set; }

Property Value

string

Methods

FormatDate(object)

protected static string FormatDate(object date)

Parameters

date object

Returns

string

GetDisplayText(string)

protected string GetDisplayText(string attribute)

Parameters

attribute string

Returns

string

GetEmbededHelpContent(string)

protected string GetEmbededHelpContent(string fragment = null)

Parameters

fragment string

Returns

string

IsContentItem(DataControlRowType)

protected static bool IsContentItem(DataControlRowType type)

Parameters

type DataControlRowType

Returns

bool

IsContentItem(GridViewRow)

protected static bool IsContentItem(GridViewRow row)

Parameters

row GridViewRow

Returns

bool

IsContentItem(GridViewRowEventArgs)

protected static bool IsContentItem(GridViewRowEventArgs e)

Parameters

e GridViewRowEventArgs

Returns

bool

IsContentItem(RepeaterItem)

protected static bool IsContentItem(RepeaterItem item)

Parameters

item RepeaterItem

Returns

bool

IsContentItem(RepeaterItemEventArgs)

protected static bool IsContentItem(RepeaterItemEventArgs e)

Parameters

e RepeaterItemEventArgs

Returns

bool

LocalizeDate(object, bool)

protected string LocalizeDate(object o, bool shortFormat = true)

Parameters

o object
shortFormat bool

Returns

string

LocalizeTime(object, string, bool)

protected string LocalizeTime(object time, string element = null, bool isHtml = true)

Parameters

time object
element string
isHtml bool

Returns

string

OnInit(EventArgs)

protected override void OnInit(EventArgs e)

Parameters

e EventArgs

OnLoad(EventArgs)

protected override void OnLoad(EventArgs e)

Parameters

e EventArgs

SetupValidationGroup(string)

protected virtual void SetupValidationGroup(string groupName)

Parameters

groupName string

Translate(ComboBox)

protected void Translate(ComboBox cb)

Parameters

cb ComboBox

Translate(string)

protected string Translate(string text)

Parameters

text string

Returns

string

Translate(string, string, string)

protected string Translate(string from, string to, string input)

Parameters

from string
to string
input string

Returns

string