How to print html data without rendering? [modified]
-
Hi have all html data in an hidden field and I want to print it on paper without rendering on the browser can any one tell me the solution. Problem: When tried to print the data it prints like this: <b%>Printing</b> But I want output as Printing
modified on Wednesday, August 19, 2009 10:41 AM
-
Hi have all html data in an hidden field and I want to print it on paper without rendering on the browser can any one tell me the solution. Problem: When tried to print the data it prints like this: <b%>Printing</b> But I want output as Printing
modified on Wednesday, August 19, 2009 10:41 AM
What are you doing, let me know. Are you printing using Window.print. I dont think it prints hidden field. Are you using @media print CSS?? :confused:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
-
What are you doing, let me know. Are you printing using Window.print. I dont think it prints hidden field. Are you using @media print CSS?? :confused:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
In my case data is very heavy so browser creates a problem while rending so, I withdraw to use Window.Print, now I have all in hidden fields. Also, I tried all in Stringbuilder. Now, problem is how to get all printed with proper formatting.
-
In my case data is very heavy so browser creates a problem while rending so, I withdraw to use Window.Print, now I have all in hidden fields. Also, I tried all in Stringbuilder. Now, problem is how to get all printed with proper formatting.
Gaurav.Kumar.Arora wrote:
Also, I tried all in Stringbuilder.
Without window.print how do you print. This is the only possible way to print. the thing that you can do is use
@media print
css to those hidden fields and apply correct formatting. :thumbsup:Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.