We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Starting in 2019, the Reporting control is no longer included in Essential Studio. If you're experiencing issues with the Syncfusion Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion and appreciate your understanding.

Printing entity framework list

Hi,

i am using entity framework with firebird .
in my WPF form i have a grid bound to a list of entities from database .

could you give me please basic step to print a that list .
i want also to include other elements in the page like logo, other  texts ... etc

thanks and good day


5 Replies

AS Anandakumar S Syncfusion Team April 8, 2015 02:21 PM UTC

Hi Issam,

Thanks for using Syncfusion Products.

Query
Response
could you give me please basic step to print a that list.
Using Syncfusion Grid control you can display and print your data’s. Kindly refer the following sample to print using our Grid control.
https://www.syncfusion.com/downloads/support/forum/118757/Printing-1911914537.zip
If you are using WPF MS Grid then you can print the visual element using PrintVisual in PrintDialog, refer the following for more details on this.
https://msdn.microsoft.com/en-us/library/ms742418%28v=vs.110%29.aspx
https://social.msdn.microsoft.com/Forums/vstudio/en-US/a95af594-170c-40a3-8497-d922da7b3773/convert-a-wpf-grid-into-a-flowdocument-for-paginated-printing?forum=wpf
i want also to include other elements in the page like logo, other texts ... etc
You can print a WPF Panel element using PrintVisual method available in PrintDialog. Please refer the following for more details on PrintDialog.
https://msdn.microsoft.com/en-us/library/system.windows.controls.printdialog.printvisual(v=vs.110).aspx
https://code.msdn.microsoft.com/windowsdesktop/WPF-Printing-Overview-f28c541a

Note: If above is not your case then, could you please confirm the Syncfusion control used in your application and platform with us?. It will be helpful for us to provide a solution soon.

Please let us know if you have any questions.

Regards,
Anandakumar S


IS issam April 8, 2015 02:51 PM UTC

Hi,
Well it's a little more complex .
here is the kind of report i want to print




so as you can see i have several observablecollections 1..n i want to print on top of each others (like with a stackpanel in WPF), plus other elements on the report

so any guidance is welcome

thanks again



NB Nithya B Syncfusion Team April 9, 2015 08:52 AM UTC

Hi Issam,
Thanks for your update.
Could you please confirm with us whether you are using RDL/RDLC reports to show the list of data in Table/List and also the controls used in your application? It will be helpful for us to proceed further on this.
Please let us know, if you have any questions.
Regards,
Nithya


IS issam April 9, 2015 02:37 PM UTC

hi,
at the moment i am using nothing :p
i am just looking for the best way to achieve what i am trying to do .

in my application  i have several itemscontrols, each itemsontrol has it's own itemstemplate wich contain checkboxes .
at the end , i have several Lists of selected options based on user check .

so i want to print that lists inn my report plus other elements like header/footer and other databound elements


like i said , i want just some guidance on how to make this .

thanks again .
 


NB Nithya B Syncfusion Team April 10, 2015 04:30 PM UTC

Hi Issam,

Thank you for your update.

We have prepared a sample based on your requirements and it can be downloaded from the following location.

https://www.syncfusion.com/downloads/support/forum/118757/PrintingTest-1530370853.zip

Please let us know if you have any questions.

Regards,
Nithya

Loader.
Live Chat Icon For mobile
Up arrow icon