.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid
Post New Web Links

How do I ?

Posted By:      Posted Date: August 23, 2010    Points: 0   Category :ASP.Net

I am trying to print to a set of multiple documents to the client's printer using ASP.Net. I have used the code below to create the XML document:

Dim X as XMLDocument

Dim xpathnav as CPATHNavigator = X.CreateNavigator() 

Dim qs as String = select statement


Using xw as XMLWriter = xpath.PrependChild()


Using xr as XMLReader = da.SelectCommand.ExecuteXmlReader()


End Using


End Using


XML2.XPathNavigator = xpathnav

End Using


In the aspx page, I have:

<div id="prt_to_client" onload="print_client('prt_to_client')

<asp:xml id="XML2" runat="server" transormsource="~/prt_to_client.xslt"/>

This al works fine on a single print to the client. HERE's the issue; I can't queue multiple print, because I don't know when the client's printer finished printing. So I thought another way around this was to take all the "INNER HTML"s and create a single print document. I tried to create a single document in the XML, but the XML interwaved  the data as a single document.


Any suggestions wou

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend