Class LobbyBasePage
- Namespace
- InSite.UI.Layout.Lobby
- Assembly
- InSite.UI.dll
public class LobbyBasePage : Page, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, INamingContainer, IFilterResolutionService, IHttpHandler, IAdminPage, IHasTranslator, IHasWebRoute
- Inheritance
-
LobbyBasePage
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
LobbyBasePage()
Properties
ActionControl
public Control ActionControl { get; }
Property Value
- Control
ActionModel
public TAction ActionModel { get; set; }
Property Value
- TAction
ActionUrl
public virtual string ActionUrl { get; }
Property Value
- string
BreadcrumbsItems
public List<BreadcrumbItem> BreadcrumbsItems { get; set; }
Property Value
- List<BreadcrumbItem>
CurrentCulture
protected CultureInfo CurrentCulture { get; }
Property Value
- CultureInfo
CurrentLanguage
public string CurrentLanguage { get; }
Property Value
- string
Identity
protected static ISecurityFramework Identity { get; }
Property Value
- ISecurityFramework
IsTranslated
public bool IsTranslated { get; set; }
Property Value
- bool
LanguageCulture
protected CultureInfo LanguageCulture { get; }
Property Value
- CultureInfo
Organization
protected static OrganizationState Organization { get; }
Property Value
- OrganizationState
RawUrl
public virtual string RawUrl { get; }
Property Value
- string
Route
public WebRoute Route { get; }
Property Value
- WebRoute
Translator
public InputTranslator Translator { get; set; }
Property Value
- InputTranslator
Methods
AddBreadcrumb(string, string, bool)
public void AddBreadcrumb(string text, string href, bool translate = true)
Parameters
text string
href string
translate bool
FormatDate(object)
protected static string FormatDate(object date)
Parameters
date object
Returns
- string
GetDisplayHtml(string, string)
public string GetDisplayHtml(string attribute, string @default)
Parameters
attribute string
default string
Returns
- string
GetDisplayText(string, string)
public string GetDisplayText(string attribute, string @default = null)
Parameters
attribute string
default string
Returns
- string
GetEmbededHelpContent(string)
protected string GetEmbededHelpContent(string fragment = null)
Parameters
fragment string
Returns
- string
GetParent()
protected IWebRoute GetParent()
Returns
- IWebRoute
GetParentLinkParameters(IWebRoute, string)
protected string GetParentLinkParameters(IWebRoute parent, string defaultParameters)
Parameters
parent IWebRoute
defaultParameters string
Returns
- string
GetParentUrl(string)
protected string GetParentUrl(string defaultParameters)
Parameters
defaultParameters string
Returns
- string
GetReturnUrl()
protected virtual string GetReturnUrl()
Returns
- string
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
OnLoad(EventArgs)
protected override void OnLoad(EventArgs e)
Parameters
e EventArgs
OnPreInit(EventArgs)
protected override void OnPreInit(EventArgs e)
Parameters
e EventArgs
OnPreRender(EventArgs)
protected override void OnPreRender(EventArgs e)
Parameters
e EventArgs
PrintPdf(string)
public void PrintPdf(string filename)
Parameters
filename string
RedirectToUrl(Page, string)
public static void RedirectToUrl(Page page, string url)
Parameters
page Page
url string
RenderControl(HtmlTextWriter)
public override void RenderControl(HtmlTextWriter writer)
Parameters
writer HtmlTextWriter
SendZipFile(byte[], string, string)
protected void SendZipFile(byte[] data, string fileName, string ext)
Parameters
data byte[]
fileName string
ext string
Translate(ComboBox)
public void Translate(ComboBox cb)
Parameters
cb ComboBox
Translate(string)
public string Translate(string text)
Parameters
text string
Returns
- string
Translate(string, string)
public string Translate(string label, string text)
Parameters
label string
text string
Returns
- string
Translate(string, string, MultilingualString)
public string Translate(string from, string to, MultilingualString item)
Parameters
from string
to string
item MultilingualString
Returns
- string
Translate(string, string, ICollection<MultilingualString>)
public void Translate(string from, string to, ICollection<MultilingualString> list)
Parameters
from string
to string
list ICollection<MultilingualString>
Translate(string, string, string)
public string Translate(string from, string to, string input)
Parameters
from string
to string
input string
Returns
- string