Example #1
0
        /// <summary>
        /// Handles the GridRebind event of the pnlGroupMembers control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="GridRebindEventArgs" /> instance containing the event data.</param>
        /// <exception cref="System.NotImplementedException"></exception>
        protected void pnlGroupMembers_GridRebind(object sender, GridRebindEventArgs e)
        {
            if (GroupGridRebind != null)
            {
                GroupGridRebind(this, e);
            }

            //BindGroupMembersGrid( e.IsExporting );
        }
Example #2
0
        private void gParentItems_GridRebind(object sender, GridRebindEventArgs e)
        {
            var contentItem = GetContentItem();

            if (contentItem != null)
            {
                BindParentItemsGrid(contentItem);
            }
        }
Example #3
0
        /// <summary>
        /// Bind the grid.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void gDiscounts_GridRebind(object sender, GridRebindEventArgs e)
        {
            var instance = this.RegistrationInstance;

            if (instance == null)
            {
                return;
            }

            gDiscounts.ExportTitleName = instance.Name + " - Discount Codes";
            gDiscounts.ExportFilename  = gDiscounts.ExportFilename ?? instance.Name + "DiscountCodes";
            BindDiscountsGrid();
        }
        /// <summary>
        /// Handles the GridRebind event of the gFees control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
        protected void gFees_GridRebind(object sender, GridRebindEventArgs e)
        {
            var instance = this.RegistrationInstance;

            if (instance == null)
            {
                return;
            }

            gFees.ExportTitleName = instance.Name + " - Registration Fees";
            gFees.ExportFilename  = gFees.ExportFilename ?? instance.Name + "RegistrationFees";

            BindFeesGrid();
        }
Example #5
0
        private void RebindGrid(object sender, GridRebindEventArgs e)
        {
            var scheduleIds = GetAttributeValue("ScheduleIDs");

            rockContext = new RockContext();
            schedules   = new ScheduleService(rockContext)
                          .GetByIds(GetAttributeValue("ScheduleIDs")
                                    .Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries)
                                    .Select(int.Parse)
                                    .ToList()
                                    ).ToList();

            BindGrid();
        }
 /// <summary>
 /// Handles the GridRebind event of the GAttendeesAttendance control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 protected void gAttendeesAttendance_GridRebind( object sender, GridRebindEventArgs e )
 {
     BindAttendeesGrid( e.IsExporting );
 }
Example #7
0
 protected void gStars_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGrid();
 }
Example #8
0
 private void gCategories_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindSignCategories();
 }
 /// <summary>
 /// Handles the GridRebind event of the gData control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 protected void gData_GridRebind(object sender, GridRebindEventArgs e)
 {
     ShowData();
 }
 /// <summary>
 /// Handles the GridRebind event of the gWaitList control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 private void gWaitList_GridRebind( object sender, GridRebindEventArgs e )
 {
     BindWaitListGrid( e.IsExporting );
 }
Example #11
0
 /// <summary>
 /// Handles the GridRebind event of the gEnrollments control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs" /> instance containing the event data.</param>
 protected void gEnrollments_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindEnrollmentGrid(e.IsExporting, e.IsCommunication);
 }
 /// <summary>
 /// Handles the GridRebind event of the gRegistrants control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 protected void gRegistrants_GridRebind( object sender, GridRebindEventArgs e )
 {
     BindRegistrantsGrid( e.IsExporting );
 }
Example #13
0
 /// <summary>
 /// Handles the GridRebind event of the gBatchesToExport control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 private void gBatchesToExport_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGrid();
 }
Example #14
0
 /// <summary>
 /// Handles the GridRebind event of the GAttendeesAttendance control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 protected void gAttendeesAttendance_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindAttendeesGrid(e.IsExporting);
 }
Example #15
0
 private void gAccounts_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGrid();
 }
 /// <summary>
 /// Handles the GridRebind event of the gGroupMembers control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs" /> instance containing the event data.</param>
 /// <exception cref="System.NotImplementedException"></exception>
 protected void gGroupMembers_GridRebind( object sender, GridRebindEventArgs e )
 {
     BindGroupMembersGrid( e.IsExporting );
 }
Example #17
0
 /// <summary>
 /// Handles the GridRebind event of the gCampusTopics control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 private void GCampusTopics_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindCampusTopicsGrid();
 }
 private void gParentItems_GridRebind( object sender, GridRebindEventArgs e )
 {
     var contentItem = GetContentItem();
     if ( contentItem != null )
     {
         BindParentItemsGrid( contentItem );
     }
 }
Example #19
0
 /// <summary>
 /// Handles the GridRebind event of the gSteps control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs" /> instance containing the event data.</param>
 protected void gSteps_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindParticipantsGrid(e.IsExporting, e.IsCommunication);
 }
Example #20
0
 /// <summary>
 /// Handles the GridRebind event of the gAttempts control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs" /> instance containing the event data.</param>
 protected void gAttempts_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGrid();
 }
 /// <summary>
 /// Handles the GridRebind event of the gGroupPlacements control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 protected void gGroupPlacements_GridRebind( object sender, GridRebindEventArgs e )
 {
     BindGroupPlacementGrid( e.IsExporting );
 }
 /// <summary>
 /// Handles the GridRebind event of the gList control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 private void gList_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGrid(e.IsExporting);
 }
Example #23
0
 /// <summary>
 /// Handles the GridRebind event of the gAttendees control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 private void gAttendees_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindAttendeeGridAndChart(e.IsExporting);
 }
Example #24
0
 /// <summary>
 /// Handles the GridRebind event of the gGroupMembers control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 private void gGroupMembers_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGroupMembersGrid();
 }
Example #25
0
 /// <summary>
 /// Handles the GridRebind event of the gReport control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 protected void gReport_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindReportGrid(e.IsCommunication);
 }
Example #26
0
 private void gTransactions_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGrid();
 }
Example #27
0
 private void GGrid_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGrid();
 }
 protected void gdGivingUnits_GridRebind(object sender, GridRebindEventArgs e)
 {
     DisplayResults();
 }
 /// <summary>
 /// Handles the GridRebind event of the gAccountParticipants control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 private void gAccountParticipants_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindAccountParticipantsGrid();
 }
 /// <summary>
 /// Handles the GridRebind event of the GAttendees control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 private void GAttendees_GridRebind(object sender, GridRebindEventArgs e)
 {
     GetAttendees();
 }
Example #31
0
 /// <summary>
 /// Handles the GridRebind event of the _gMatrixItems control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 private void _gMatrixItems_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGrid(this.AttributeMatrixGuid);
 }
Example #32
0
 /// <summary>
 /// Handles the GridRebind event of the gAlerts control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 /// <exception cref="System.NotImplementedException"></exception>
 protected void gAlerts_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindAlerts();
 }
Example #33
0
 /// <summary>
 /// Handles the GridRebind event of the gTransactions control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 private void gTransactions_GridRebind( object sender, GridRebindEventArgs e )
 {
     BindGrid( e.IsExporting );
 }
Example #34
0
 /// <summary>
 /// Handle the rebind event for the step list grid
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gStepList_GridRebind(object sender, GridRebindEventArgs e)
 {
     RenderGridView();
 }
Example #35
0
 /// <summary>
 /// Handles the GridRebind event of the gCertificates control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GridRebindEventArgs"/> instance containing the event data.</param>
 protected void gCertificates_GridRebind(object sender, GridRebindEventArgs e)
 {
     BindGrid();
 }
Example #36
0
 /// <summary>
 /// Handles the GridRebind event of the gBatchList control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 private void gBatchList_GridRebind( object sender, GridRebindEventArgs e )
 {
     BindGrid( e.IsExporting );
 }