Code (c#) to print a browser form - InfoPath Dev
in

InfoPath Dev

Code (c#) to print a browser form

Last post 02-22-2010 11:05 PM by shehan. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-22-2010 11:05 PM

    • shehan
    • Not Ranked
      Male
    • Joined on 02-22-2010
    • Posts 1

    Code (c#) to print a browser form

    I have a form that thas rendered online on a MOSS 2007 farm. I need to have a button, that when clicked will cause the form to print or at least open up the browsers print dialog screen.

    I found a bunch of topics on this in this forum, that talk of using  XDocument.PrintOut() and so on, but when I compile it complains that XDocument does not exist in the current context.

     

    Can someone please help me with sample C# code to achieve this?

     

     

    Filed under:
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.