Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DHTML editing component

Posted on 2000-05-15
5
Medium Priority
?
725 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 800 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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…
Suggested Courses

927 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