By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,153 Members | 1,750 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,153 IT Pros & Developers. It's quick & easy.

Problem in Print Friendly Version with treeview control...

P: 21

Problem in Print Friendly Version with treeview control...

i am creating one web applications..

in this web application in main page The left side one panel and right side one Iframe control..

i am go to run the page the treeview control to expand corresponding page target to iframe control..

function PrintThisPage()
var sOption="toolbar=yes,location=no,directories=yes,m enubar=yes,";
sOption+="scrollbars=yes,width=750,height=600,left =100,top=25";

var sWinHTML = document.getElementById('PrintVersion').innerHTML;

winprint.document.write('<html><LINK href=/eggheadcafe.css rel=Stylesheet><body>');

<table id="tblTreeview" height="40" cellSpacing="0" cellPadding="0" width="98%" border="0">
<tr height="500" width="100%">
<td vAlign="top" width="30%"><asp:panel id="pnlHeading" runat="server" ForeColor="Maroon" Height="500" BackColor="PaleGoldenrod"
<iewc:TreeView id="TreeView1" runat="server" Width="256px">
<iewc:TreeNode Text="Forza">
<iewc:TreeNode Text="CarBoooking">
<iewc:TreeNode NavigateUrl="pgRptCarBooking.aspx" ImageUrl="RptImages\html1.gif" Text="RptCarBooking"
<iewc:TreeNode Text="TripClose">
<iewc:TreeNode NavigateUrl="pgRptTripClose.aspx" ImageUrl="RptImages\html1.gif" Text="RptTripClose"
<td vAlign="top" width="70%">
<div id="PrintVersion" align="center">
<iframe id="ifrmTreeView" tabIndex="3" name="ifrmTreeView" width="677" height="500">

this is the code

the problem i want to print the page in corresponding targeted page..

but the output shows iframe only..

there is no nothing is display..

please help

how to print the targeted page using treeview

please reply me..
Sep 18 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.