/// <summary> /// Handles the SelectedIndexChanged event of the ucPublicationTypes control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Labitec.LeadForce.Portal.Main.Discussions.UserControls.ActivityRibbon.PublicationTypes.SelectedIndexChangedEventArgs"/> instance containing the event data.</param> protected void ucPublicationTypes_SelectedIndexChanged(object sender, PublicationTypes.SelectedIndexChangedEventArgs e) { if (Page.IsPostBack) { Session["Portal-Discussion-PublicationTypeId"] = e.SelectedValue; Response.Redirect(UrlsData.LFP_Discussions(PortalSettingsId)); } }
/// <summary> /// Handles the SelectedIndexChanged event of the ucPublicationTypes control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="WebCounter.AdminPanel.UserControls.ActivityRibbon.PublicationTypes.SelectedIndexChangedEventArgs"/> instance containing the event data.</param> protected void ucPublicationTypes_SelectedIndexChanged(object sender, PublicationTypes.SelectedIndexChangedEventArgs e) { ucCreatePublication.SelectedValue = e.SelectedValue; ucPublicationsRibbon.PublicationTypeId = e.SelectedValue; ucPublicationsRibbon.BindData(); }