Solved

DHTML editing component

Posted on 2000-05-15
5
670 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
  • 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how can i test my code? 1 36
Checking data with javascript 3 19
Why doesn't Google directions work? 6 44
Hide cell in a table 2 12
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
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…

770 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