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());
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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());
 }
Ejemplo n.º 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());
        }