ASP.NET print controls and Microsoft and Dundes Charts in PDF - c#

I am developing an intranet web application for my company and now I need to add Print Functionality that enables the admin to print some charts (either Microsoft Charts or Dundes) and GridViews in PDF. So is there any simple way to implement this functionality?
I tried to use iTextLibrary but it is very difficult to use and customize.

Microsoft Report Viewer controls? it is not direct printing but it only takes one extra click to export to pdf.

Related

Use excel in WPF application

I'm new to WPF. I have a WPF application and I need to render an already existing excel file(section:-Batch Control Ticket). What I need to show in the WPF app is what exactly appears in the excel file. I know we can do it in a different way by loading the excel file in the C# code and mapping it in to a DataGrid. But it will not give the exact appearance of the file. I have seen some 3rd party availability but I need to purchase them and cannot be sure of their reliability. What can I do? Are there any tool available in WPF or a recommended other? The image shows how I need the app to appear.

Word document viewer in asp web application

I've to create one asp web application using C# to show word document(docx) in the form(browser window). Is there any active control or COM components are available for that means help to achieve it
please help me ...

Image Thumb Previews for SharePoint

Is there a way to generate an image preview of images added into a SharePoint list?
The scenario is the following:
For image files (.jpg, .tif, .png) that are added into a SharePoint document library which are then listed or viewed via "list view web part on another page" when the user hovers over any of the image files a popup window or anything similar should be displayed showing a preview of the image. Is this possible to achieve in SharePoint and how would this be done.
Would css alone achieve this, or will it require c# code behind.
Many thanks,
Why not use SharePoint picture libraries ? There you got thumbnails, preview and so on.
Or you could make an custom solution using ex. jquery fancybox .
I would suggest that you use standard SharePoint or connect the hover effect on the picture library on your own list.
see
http://office.microsoft.com/en-us/windows-sharepoint-services-help/working-with-sharepoint-picture-libraries-HA001123335.aspx
http://www.youtube.com/watch?v=olaGyX4g2Cc

Showing multiple PDF Files in WebBrowser control (Windows Form)

I’m trying to show PDF files in Windows Form WebBrowser control. I do this by WebBrowser.Navigate() method. It is work when I want show one PDF file, which is not enough for me. I need when a user clicks a button , WebBrowser show another PDF file. What I have to do?
Avoid using WebBrowser control just to show a pdf. Try using one of the many free PDF libraries available for .net such as PDFSharp.
This will allow you to draw pdf's on to the Form and using TabControl you can create tabs programmatically and place a new pdf viewer inside of the tab.
You could easily make a 2 different files PDF viewer (side by side or top and bottom) by using the PDFSharp. Or you can use the ActiveX control for Adobe Reader.
Edit: It was my understanding that PDFSharp can render pdf's directly. This can only be done by exporting the page to a Jpeg/Png and then displaying the images. Sorry for any confusion.
At your place I'd do tabControl, and foreach tabControl, I'd put a webbroswer inwhich there would be a PDF by Tab.
EDIT : A WebBroswer isn't like internet explorer. Internet Explorer has the "Feature" of having multiple tabs (just like Chrome, etc). The WebBroswer Element is only the content of the tab :)
EDIT2 : After many years into this, I would recommend using a PDF library also. As a prototype usecase it might work, but in real world, we never know how many there will be. the best would probably to: either let the option to the user to open in a competent software i.e. Acrobat Reader where tab is natively used (DC), or use a PDF Library.
What i think is that you are facing a very simple navigate issue here. I have worked out a project for you, take a look at it, I hope it will solve your issue.
download here.

continous pages crystal report viewer

Can we have continuous viewing in Crystal Report Viewer, rather than clicking NextPage button ?
I am developing a win form application in C#.
No, not within the viewer control itself.
You can export to HTML as one, single page though. HTML can be a bit wacky on the formatting, but if you format you report very strictly in columns and stay with standard fonts, you get pretty good results.

Categories