Example #1
0
        protected void searchButton_Click(object sender, EventArgs e)
        {
            RadGridCertificate.Visible     = true;
            RadButtonMergePDFs.Visible     = true;
            RadButtonSelectedInZip.Visible = true;
            // gridButtonsDiv.Visible = true;
            // IQueryable<vw_businessPartnerDocument> documents = dc.vw_businessPartnerDocuments.Where(c => c.bpName.Equals(txtFilled));
            //businessPartnerDocumentsDataSource.WhereParameters.Add("bpName" , txtFilled);
            //businessPartnerDocumentsDataSource.DataBind();
            //RadGridCertificate.DataBind();

            RadGridCertificate.MasterTableView.SortExpressions.Clear();
            RadGridCertificate.MasterTableView.GroupByExpressions.Clear();
            RadGridCertificate.MasterTableView.CurrentPageIndex = 0;
            // RadGridCertificate.DataSource = null;
            // Moet blijven
            RadGridCertificate.Rebind();

            //   RadGridCertificate.DataBind();
            //  businessPartnerDocumentsDataSource.WhereParameters.Clear();
            // RadGridCertificate.Rebind();
            // RadGridCertificate.DataSource = businessPartnerDocumentsDataSource;
            //  RadGridCertificate.Rebind();
            // RadGridCertificate.DataBinding(documents);
        }
Example #2
0
        private void RefreshRadGrid()
        {
            RadGridCertificate.MasterTableView.SortExpressions.Clear();
            RadGridCertificate.MasterTableView.GroupByExpressions.Clear();
            RadGridCertificate.MasterTableView.CurrentPageIndex = 0;

            RadGridCertificate.Rebind();
        }