In my Winforms app I have a GridView and the option for users to print the data contained in the GridView.
The GridView is dynamic in that the number of columns of data varies by user and their department (some users will see 5 columns of data, some will get 10, some will get 13, etc.).
When printing, due to the unknown number of columns, all the data/columns sometimes will appear efficiently on an 8.5 X 11 sheet of paper in portrait mode and sometimes not. Sometimes the paper size will have to be changed or the orientation.
However, if the number of columns is large, even if the orientation is changed to landscape and paper size changed to legal, the data won't display well on the printed report. It'll either condense/truncate each column to fit on a printed page, or some columns just don't get printed at all (i.e. columns 1 thru 7 will display on the printed page, but columns 8 thru 15 are omitted from the printed results.)
When printing the GridView's data, 3 options are available in PrintPreview->Print Settings: FitPageWidth, NoFit and NoFitCentered. Neither of these options produce a report in which all the data/columns are readable.
Is there a way to have all columns printed at their actual size, in that if the number of columns is too many to fit on a single sheet of paper, the first "batch" of columns will print on "page 1" and the second batch on page 2? (Similar to the "No Scaling" print option in Excel.)
Internally, when printing the GridView's data, the GridView's data is passed to the Associated Object of a RadPrintDocument. That RadPrintDocument is then passed to the Document property of a RadPrintPreviewDialog.
Thanks much for all advice with this matter.
Hi Team.
How can I create a custom save button to save the edited Image directly into the sql sever database or use the default save button to save the image directly to the the database.
However, the only option I have right now is to save the image to file and then save image file to the database, which I want to avoid because I will end up having two save buttons.
Thank you.
Hi.
There is any way to mimic RadGridView.BestFitColumns(BestFitColumnMode.AllCells)?
RadVirtualGrid.BestFitColumns() ignores cells that are not displayed or visible.
Thanks.
How to I can fill the GridView Hierarchical with the same DataSource ?
I did a query to list some fields and I grouped in a Linq and attributtes to a BindingSource to show in the main GridView and it worked, but I need fill the GridView Hierarchical with the same query, but without grouping, then I created a new BindingSource and attributes a Linq to he without grouping but not works.
Hello, we are currently working with the Gridview control, having the datasource set to a datatable. Now we are trying to archieve a behavior where the row 'Total' is being excluded from the sorting in order to keep the row as last row at all time.
How can we achieve this behavior?
Thanks in advance
Hello everyone,
I choose the text in the radtextboxcontrol in the interface, click the right button to appear the copy, paste, cut function. I want to make it copy, paste, cut and
display as text of different countries, how to solve it? As shown in Figure 1.
Hi, I can not make busy indicators work.
I call the radVirtualGrid1.MasterViewInfo.IsWaiting = true before (and false after) i load a huge amount of data and write on the virtual grid with the CellValueNeeded event but i can't see the busy indicator bar.
Same thing when I call radVirtualGrid1.MasterViewInfo.StartRowWaiting(indexRow) inside the RowExpanding event and radVirtualGrid1.MasterViewInfo.StopRowWaiting(indexRow) inside the RowExpanded event.
The indicator doesn't work..
I partially resolved with the call to Application.DoEvents() immediately after the above methods. I can see the bar but they aren't animated!
Thanks in advance
hi
is it possible set different shape for each legend?
in fact each series have different shape for points,i want the shape of legend is same