Solved

DHTML editing component

Posted on 2000-05-15
5
695 Views
Last Modified: 2008-02-01
Hi,
I’m using DHTML editing component within the web page.
Do anybody know how to print out the content of  DHTML control
programmatically?
Thanks
0
Comment
Question by:robson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 

Author Comment

by:robson
ID: 2811801
no comments
0
 

Expert Comment

by:aalternet
ID: 2811984
which component?
where do you want to print it's content?
0
 
LVL 10

Accepted Solution

by:
kollegov earned 200 total points
ID: 2812850
Quote from MSDN library on DHTMLediting component (safe-for-scripting version)
--------
To conform to Web application standards, the safe-for-scripting version of the control does not support reading or writing directly to disk, and does not support printing.

....
The following list indicates the features of the DHTML Editing control that are not available in the safe-for-scripting version:

LoadDo cument method
SaveDo cument method
PrintDocument method
BrowseMo de property

---------------------
PrintDocument Method

Description

Prints the current document.
Note The PrintDocument method is the only way to print the contents of the control. If the control is hosted inside a container such as a form or Web page and you call the container's Print command, the contents of the DHTML Editing control will appear as a blank rectangle.

Syntax

object. PrintDocument [bfWithUI]

bfWithUI -  Optional. VARIANT value of type VT_BOOL that specifies whether the method displays the Windows Print dialog box. If the value is set to True, the dialog box is displayed. If the value is set to False, or if the parameter is omitted, the current document is printed silently.

--------



MSDN\inet.chm::/workshop/author/dhtml/edit/ref/cncpt.htm


So if you use unsafe-for-scripting
version you can use PrintDocument() method.

0
 

Author Comment

by:robson
ID: 2814060
Adjusted points from 100 to 200
0
 

Author Comment

by:robson
ID: 2814061
Thanks,it was what I've been looking for.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I post more than 1 item to php backend 24 60
Google Chrome: Debugging AJAX call 6 39
Natural height and jquery 6 40
Slow Down an Animation 3 29
This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question