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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Printing entity framework list

Thread ID:

Created:

Updated:

Platform:

Replies:

118757 Apr 8,2015 02:37 AM UTC Apr 10,2015 04:30 PM UTC WPF 5
loading
Tags: ReportDesigner
issam
Asked On April 8, 2015 02:37 AM UTC

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


Anandakumar S [Syncfusion]
Replied On 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.
http://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

issam
Replied On 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


Nithya B [Syncfusion]
Replied On 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

issam
Replied On 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 .
 

Nithya B [Syncfusion]
Replied On 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.

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

Please let us know if you have any questions.

Regards,
Nithya

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;