void pd_PrintPage(object sender, PrintPageEventArgs e)
        {
            if (printSheet == null)
                printSheet = new BADSSheet(accountInfo, _contacts, allEntitlements, entitlementGroups, allSigners, e.PrintableArea, e.PageMargins);

            e.PageVisual = printSheet.NextPrintPage();
            bool hasMorePages = printSheet.hasMorePagesToPrint();
            e.HasMorePages = hasMorePages;

            if (!hasMorePages)
                printSheet = null;
        }
        private void DataSheetButton_Click(object sender, RoutedEventArgs e)
        {
            RadButton button = sender as RadButton;
            GridViewRow row = button.ParentOfType<GridViewRow>();
            TDocs.AccountsView selectedAccount = (TDocs.AccountsView)row.Item;
            BADSSheet infoSheet = new BADSSheet(selectedAccount);

            RadWindow window = new RadWindow();
            window.Content = infoSheet;
            window.Header = "Account Data Sheet";
            window.Height = 620;
            window.WindowStartupLocation = Telerik.Windows.Controls.WindowStartupLocation.CenterScreen;
            window.ShowDialog();
        }