/    Sign up×
Community /Pin to ProfileBookmark

The window.Print() prints the current page and not the content of my crystal report viewer
and the execCommand also saves the current page html.

I only need to let the user choose printer name for example or choose the diretory in these dialog boxes and take the result. Because I have my own print and export function.

Can I access the Print button or Save button in these dialog boxes and override them?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliOct 28.2003 — not quite sure if I understand what you are asking here..(coffee????)
Copy linkTweet thisAlerts:
@mariechristinebauthorOct 28.2003 — In asp.net, the crystal report viewer doesn't have neither an export or print report.

So i put buttons and wrote functions to export and print.

But in this way, i am assigning the export file path in the code

I want the user to choose where to export the file to. And then take the answer and continue with my written function.

Therefore i can't use the execcommand save as dialog box only. I need to override the save button.

But how???
×

Success!

Help @mariechristineb spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...