protected void OnSiteSelected(AWAPI.App_Code.SiteEventArgument e) { if (SiteSelected != null) { SiteSelected(this, e); } }
protected void siteList_SiteSelected(object sender, AWAPI.App_Code.SiteEventArgument e) { AWAPI_BusinessLibrary.library.SiteLibrary lib = new AWAPI_BusinessLibrary.library.SiteLibrary(); App_Code.SessionInfo.CurrentSite = lib.Get(e.SiteId); App_Code.UserInfo.UpdateSiteIdInAuthenticationCookie(e.SiteId); ScriptManager.RegisterClientScriptBlock(this, typeof(Page), "", " window.parent.closeColorBox(true); ", true); }