Click here to Skip to main content
Sign Up to vote bad
good
See more: ASP.NETAjax
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 24 Dec '12 - 21:30


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 [^]
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 508
1 Arun Vasu 275
2 Maciej Los 228
3 OriginalGriff 215
4 Rohan Leuva 176
0 Sergey Alexandrovich Kryukov 9,670
1 OriginalGriff 7,409
2 CPallini 3,968
3 Rohan Leuva 3,352
4 Maciej Los 2,861


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 25 Dec 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid