Search
  Search
DEVELOP WEB APPLICATIONS WITH THE BEST AJAX FRAMEWORK.
CREATE LINE OF BUSINESS SILVERLIGHT APPLICATIONS IN NO TIME.
EVERY THING YOU NEED TO START DEVELOPING WITH VISUAL WEBGUI.
SEE VISUAL WEBGUI SHOW CASES FROM AROUND THE WORLD.
ALL THE RESOURCES YOU NEED TO START BUILDING VISUAL WEBGUI APPLICATIONS TODAY.
SHARE AND FIND VISUAL WEBGUI RESOURCES.
TALK WITH OTHER VISUAL WEBGUI DEVELOPERS.
 
Codes

Current Codes | | Search |

Printing VWG applications  

Published on:  Tuesday, April 22, 2008
By:  Guy
User Rating:  Article Rating
Categories:   Controls, C#

Users have accessed this code article 1161 times.

This sample code demonstrates how you can integrate printing capabilities into your application in a structured way.

The code presents the IPrintable interface which should be implemented by each control which can be printed within your rendered form. This interface defines the Print method that is responsible for rendering the desired form of HTML suitable for the control. Looping the IPrintable controls in the form and invoking Print() method on each of those controls provides a generic mechanism of rendering and printing the entire form as a unit.




Note: Codes are submitted as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Terms of Agreement:
By using this code, you agree to the following terms...

  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame.
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

comment By mab @ Sunday, April 27, 2008 7:54 AM
Many thanks. This is the code, I was waiting for.

comment By ruifrazao @ Wednesday, October 08, 2008 9:54 AM
Could you upgrade this article and code for the V6.2?

comment By ruifrazao @ Wednesday, October 08, 2008 10:00 AM
In VWG6.2 I have the following warning message:
'Gizmox.WebGUI.Common.Interfaces.IGatewayControl' is obsolete: 'This interface is superceded by the IGatewayComponent which is implemented by default in the RegisteredComponent and can be used by overriding the ProcessGatewayRequest method.'

  Web Development  AJAX Framework  Silverlight Applications  AJAX Controls
Copyright © 2005-2008 Visual WebGui®   Terms Of Use  Privacy Statement