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());
        }
Пример #2
0
        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);
        }
Пример #3
0
 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());
 }
Пример #5
0
        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());
        }