HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Printing with Template shows two dialogs
Posted by: Brian Lehmann (---.bcbst.com)
Date: Tuesday, 30-Mar-2004, 22:49:16

Has anyone run into an issue with two Print dialogs being displayed (one on top of the other) when passing in a print template? It only seems to happen with a print template. meaning

this.htmlEditor1.Print(false, "c:\\printtemplate.html", true);

causes two dialogs for me, but

this.htmlEditor1.Print(false);

does not.

Any ideas?


Re: Printing with Template shows two dialogs
Posted by: Tim (---.gotadsl.co.uk)
Date: Wednesday, 31-Mar-2004, 07:09:38

Yes, I seem to remember this is some sort of timing issue which you can fix by editng the script in the print template (it happens with one or more of the examples Microsoft provides).

Tim

Re: Printing with Template shows two dialogs
Posted by: Jim Richardson (---.hill.af.mil)
Date: Wednesday, 24-Aug-2005, 17:43:04

I also encountered this problem with one of the example Microsoft Templates, template6. I found a solution that checks for multiple invocations of the Print Dialog. The solution is an updated template6 and is located at www.webreference.com/js/column93/7.html.

Jim



Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
xdwdF
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.