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
vinoth Ezhilan M
NA
16
4.7k
who to load a ms chart control from a current page to new page.(client side)
Dec 7 2012 5:58 AM
javascript
var divToPrint = document.getElementById('<%= Page.Master.FindControl("ContentPlaceHolder2").FindControl("divReport").ClientID %>'); ;
var newWin = window.open('', '_blank', features);
newWin.document.open();
newWin.document.write('<html><head></head><body onload= "window.print()">' + divToPrint.innerHTML + '</body></html>');
newWin.document.close();
newWin.focus();
and "divreport" contains a ms chart control(c# asp.net).
the above code ll display the chart control in new page and opens the print window when it opens.
My question is, the chart control is not loading some times...
actually the cahrt control by itself change as an image and it ll get loaded on other page(since im using html).
pls give me some solutions..
or
tell me some other possibilities to print the selected div content with print preview option.
Reply
Answers (
0
)
Computer name and IP adress is same..?
java object