Click here to Skip to main content
15,905,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using Asp.net web applicaiton with Ajax Html Editor.

I need simple printing option from Ajax Html Editor. Don't need any convertion for print (like pdf, etc...)

any solution plz give me............

Thanks

Mukesh
Posted

1 solution

simple printing option from Ajax Html Editor.
Why not define a JS event on print button click where you take the HTML Editor content, wrap it with a div tag and then push the whole div tag to print?

There can be various ways to do it - like pushing div content to a static or a dynamic page to print. A sample can be found here:
Print button that prints only what's within a div tag[^]
Printing content in a div tag without opening a new window [^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900