Help me!!! Printing Facility in ASP.Net
-
Hi, I'm having problem in my project. I want to know, how to implement Printing facility in ASP.Net. I just found only WindowBase (I'm looking for Web.UI). Pls someone know, provide me. Thanks, PLM
I'm not sure I understand you here. If you're building with ASP.NET I'm assuming you're making a web application for browsers as clients. If so, wouldn't the browser's File->Print menu handle printing? What am I missing?
-
I'm not sure I understand you here. If you're building with ASP.NET I'm assuming you're making a web application for browsers as clients. If so, wouldn't the browser's File->Print menu handle printing? What am I missing?
-
Hi Mike, Browser in ASP can't call File cause File-> Print Menu is Window base. You're right, I have to use 'System.Web.HttpBrowserCapabilities'. But I didn't get it right now. Still trying. If you have any clue, provide me. Thanks, PLM
I guess I still don't understand what you're trying to do. Are you looking to implement a "Print" hyperlink of some sort in your web page? What is the result you want?
-
I guess I still don't understand what you're trying to do. Are you looking to implement a "Print" hyperlink of some sort in your web page? What is the result you want?
Actually, I want to print out my data over Grid view. (ASP Grid Control) Let me explain this portion, I query data from Oracle server and Fill these DataSet to grid view. I don't want to use Crystal Report. I want to use IE's default printing. If you have experience in that, pls feed me back. Thanks, PLM
-
Actually, I want to print out my data over Grid view. (ASP Grid Control) Let me explain this portion, I query data from Oracle server and Fill these DataSet to grid view. I don't want to use Crystal Report. I want to use IE's default printing. If you have experience in that, pls feed me back. Thanks, PLM
Well, you can create a "Print Me" link on the page using the client-side javascript
window.print()
method, like this:<A HREF="javascript::window.print()"> Print this Data</A>
If you want the page to automatically print upon loading, you can use
window.print()
method in the onLoad event of the tag:...contents to be printed when the page loads...
-
Well, you can create a "Print Me" link on the page using the client-side javascript
window.print()
method, like this:<A HREF="javascript::window.print()"> Print this Data</A>
If you want the page to automatically print upon loading, you can use
window.print()
method in the onLoad event of the tag:...contents to be printed when the page loads...
-
using this the printer dialogue will appear is there a way to print automatically without it appear heba
Well, none that I am familiar with; but even if I were, I think I would still allow my users to work with the printer dialog. I like giving them the options to print to different printers at run-time if they wish. Just curious - what is the reason you don't want them to see the printer dialog?
-
Well, none that I am familiar with; but even if I were, I think I would still allow my users to work with the printer dialog. I like giving them the options to print to different printers at run-time if they wish. Just curious - what is the reason you don't want them to see the printer dialog?
-
i'm making a lab system, the doctor print the tests of each patient, i guess it will be boring to open the printer dialogue each time he wants a test!!!!!, beside the already implemented system print automaticly when clicking print heba
Okay - I did a simple Google Groups search using the following search text: "internet explorer print without dialog" and found several responses with approaches that may work. See if that helps you.