private void Current_OnGetValue(object sender, UIContextEventArgs e) { if (e.ColumnName.EqualsCSafe("siteid", true)) { int siteId = SiteSelector.SiteID; if (SiteSelector.Visible && (siteId != 0)) { e.Result = siteId; } } }
void Current_OnGetValue(object sender, UIContextEventArgs e) { if (e.ColumnName.EqualsCSafe("siteid", true)) { siteId = (SelectorType == SiteSelectorTypeEnum.Classic) ? SiteSelector.SiteID : SiteOrGlobal.SiteID; if (Visible && (siteId != 0)) { e.Result = siteId; } } }
private void Current_OnGetValue(object sender, UIContextEventArgs e) { if (e.ColumnName.EqualsCSafe("siteid", true)) { int siteId = SiteSelector.SiteID; if (SiteSelector.Visible && (siteId != 0)) { e.Result = siteId; } } }
void Current_OnGetValue(object sender, UIContextEventArgs e) { if (e.ColumnName.EqualsCSafe("siteid", true)) { siteId = (SelectorType == SiteSelectorTypeEnum.Classic) ? SiteSelector.SiteID : SiteOrGlobal.SiteID; if (Visible && (siteId != 0)) { e.Result = siteId; } } }