示例#1
0
 protected void OnSiteSelected(AWAPI.App_Code.SiteEventArgument e)
 {
     if (SiteSelected != null)
     {
         SiteSelected(this, e);
     }
 }
示例#2
0
        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);
        }