/// <summary> /// Handles the OnUserAuthorized event of the ucLoggedAs control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Labitec.LeadForce.Portal.Shared.UserControls.LoggedAs.UserAuthorizedEventArgs"/> instance containing the event data.</param> protected void ucLoggedAs_OnUserAuthorized(object sender, LoggedAs.UserAuthorizedEventArgs e) { AddPublication(e.UserId); }
/// <summary> /// Handles the OnUserAuthorized event of the ucLoggedAs control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> protected void ucLoggedAs_OnUserAuthorized(object sender, LoggedAs.UserAuthorizedEventArgs e) { ((MainMenu)FindControl("ucMainMenu", Page.Controls)).RefreshMenu(e.UserId); }