protected void ExportButton_OnClick(object sender, EventArgs e) { List <IParticipant> contents = Participants; contents = FilterStatus(contents); contents = FilterEmail(contents); contents = FilterSessions(contents); contents = FilterSearch(contents); ParticipantExport.Export((from x in contents select x as IParticipant).ToList()); }
protected void ExportButton_OnClick(object sender, EventArgs e) { IEnumerable <IParticipant> contents = ParticipantsList; contents = FilterStatus(contents); contents = FilterEmail(contents); contents = FilterSearch(contents); contents = FilterEvent(contents); List <string> fieldsList = "email;registrationcode;status;".Split(';').ToList <string>(); foreach (ListItem checkBox in FormFieldsCheckBoxList.Items) { if (checkBox.Selected) { fieldsList.Add(checkBox.Value); } } ParticipantExport.Export((from x in contents select x as IParticipant).ToList(), fieldsList); }
protected void ExportButton_OnClick(object sender, EventArgs e) { ParticipantExport.Export(Participants, Settings.GetSetting(InvoiceFildsSettingName).Split(';').ToList <string>()); }
protected void PasteParticipantsExport_OnClick(object o, EventArgs e) { ParticipantExport.Export(AttendRegistrationEngine.GetOrCreateParticipantsClipboard()); }
protected void ExportParticipantsButton_OnClick(object sender, CommandEventArgs e) { EventPageBase EventPageBase = DataFactory.Instance.Get <EventPageBase>(new ContentReference(e.CommandArgument.ToString())); ParticipantExport.Export(AttendRegistrationEngine.GetParticipants(EventPageBase.ContentLink).ToList()); }