TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rucha thakkar
NA
12
608
Want to apply print functionality of google map in asp.net
Mar 20 2018 6:18 AM
Hello, I want to create print functionality of google map in my asp.net web application.
I use the following code for that,
<script language=
"javascript"
>
var
contents = window.opener.document.getElementById(
"dvMap"
);
document.write(contents.innerHTML);
window.print();
</script>
<input type=
"button"
value=
"Print"
onclick=
"javascript:this.style.display='none';window.print();this.style.display='';"
/>
But while i am clicking on print button it will open print page but not show the map which i want to print,it show blank page.please refere following image.
https://ibb.co/bw1EvH
What is the solution?please suggest
Thanks.
Reply
Answers (
2
)
The underlying connection was closed: The connection was clo
fullscreen not working