Home
Search
Member List
Faq
Register
Login
UltimateSpell
double text when printing
Thread Starter:
proace
Started:
03-27-2008 5:32 PM
Replies:
3
Karamasoft Support Forums
»
General Discussions
»
UltimateSpell
»
double text when printing
Printable Version
« Previous Thread
Next Thread »
27 Mar 2008, 5:32 PM
proace
Joined on 02-20-2008
Austin, TX
Posts 13
double text when printing
I just received an email from a user that said when he tries to print a page, any controls that are checked by UltimateSpell end up having double the text in the printout. It sort of creates ghost text in the textbox.
Here's a screenshot of what it looks like
, and it can be replicated on the sample application by doing a print preview of the page or just printing it out. Is there something I can do to quickly remedy this without having to disable UltimateSpell? This is a pretty big deal to my client. I guess I'll try messing with the css or something and see if I can figure it out. Perhaps adding a css class like <style media="print">.dontprint { display: none }</style> to something can fix it?
Thanks,
Anthony
27 Mar 2008, 6:49 PM
proace
Joined on 02-20-2008
Austin, TX
Posts 13
Re: double text when printing
Using the IE Developer Bar, I was able to slightly remedy the problem.
Here's a screenshot of how the page looks in the browser.
Here's how it would look with the problem I described in my previous post.
Basically (using the Developer Bar) I was able to to give the body tag of the iframe that UltimateSpell created for my textbox a cssclass of dontprint, which I mentioned in my previous post. With that in place, when I print or print-preview, the text of the iframe no longer shows and leaves the original text of the textbox in place.
The only problem is that the original text is gray.
The other problem is I don't know how to make UltimateSpell apply that css class to all the iframes it creates. I tried making the original textbox have a class of dontprint, but then the UltimateSpell text is offset from where it should be, which is what attributes to that ghosting effect.
28 Mar 2008, 1:12 AM
Karamasoft
Joined on 09-05-2004
Posts 5,325
Re: double text when printing
Print issue must be a bug in IE for iframes. We will fix this issue soon, however, in the meantime, you can use the following workaround in your code to temporarily hide and show the spell as you type boxes before/after you print:
function
PrinterFriendlyVersion()
{
// Hide spell as you type boxes
for
(textBoxId
in
UltimateSpellAsYouTypes) {
document.getElementById(textBoxId +
'usayti'
).style.display =
'none'
;
}
window.print();
// Show spell as you type boxes
for
(textBoxId
in
UltimateSpellAsYouTypes) {
document.getElementById(textBoxId +
'usayti'
).style.display =
''
;
}
}
01 Apr 2008, 12:43 AM
Karamasoft
Joined on 09-05-2004
Posts 5,325
Re: double text when printing
We fixed this issue. We have not released the new build yet but will email you the patch shortly.
Page 1 of 1 (4 items)
Karamasoft Support Forums
»
General Discussions
»
UltimateSpell
»
double text when printing
(please select)
Forums Home
─» Search Forums
─» Active Topics
─» Unanswered Posts
User Options
─» Sign In
─» Create a New Account
─» Forgot Password
General Discussions
─» Announcements
─» Sales Questions
─» UltimateAjax
─» UltimateCalendar
─» UltimateEditor
─» UltimateEmail
─» UltimateMenu
─» UltimatePanel
─» UltimateSearch
─» UltimateSitemap
─» UltimateSpell
─» UltimateTabstrip
─» JavaScript Tips
─» General Feedback
You
can
add attachments
You
can
post new topics
You
can
reply to topics
You
can
delete your posts
You
can
edit your posts
You
can
create polls
You
can
vote in polls
Forum statistics are
enabled
Forum is
unmoderated