How to Print in ASP.NET 2.0


/ Published in: VB.NET
Save to your folder(s)

how to print controls in ASP.NET 2.0 using both server side code and javascript.


Copy this code and paste it in your HTML
  1. http://www.dotnetcurry.com/ShowArticle.aspx?ID=92
  2. 'If somebody has an error in this line
  3. 'Dim ctrl As Control = CType(Session("ctrl"), Control)
  4. 'Change it for (Depending of your control)
  5. 'Dim ctrl As Panel = CType(Session("ctrl"), Panel)

URL: http://www.dotnetcurry.com/ShowArticle.aspx?ID=92

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.