Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to get screenshot of an asp.net page?

How to get screenshot of an asp.net page?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsecurityhelptutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Raheem MA
    wrote on last edited by
    #1

    Hello All, We have a scenario to get the screenshot and export it to PDF. I would like to know the process to take the screenshot/Thumbnail of the asp.net image. I found some third party dlls, but Forms Authentication causes the issue with them. With the third party dlls, if we give any url directly to the dll, its getting the thumbnail of the login page as it will be redirected to login. Our Scenario: --------------- We will have multiple pages in our Asp.Net web application. On every page we have export button. When the export button is clicked, the screenshot/thumbnail of the current page should be taken and save as image. Can anybody shed some light on this scenario and let me know if the solution found. Thank you, Raheem MA

    S 1 Reply Last reply
    0
    • R Raheem MA

      Hello All, We have a scenario to get the screenshot and export it to PDF. I would like to know the process to take the screenshot/Thumbnail of the asp.net image. I found some third party dlls, but Forms Authentication causes the issue with them. With the third party dlls, if we give any url directly to the dll, its getting the thumbnail of the login page as it will be redirected to login. Our Scenario: --------------- We will have multiple pages in our Asp.Net web application. On every page we have export button. When the export button is clicked, the screenshot/thumbnail of the current page should be taken and save as image. Can anybody shed some light on this scenario and let me know if the solution found. Thank you, Raheem MA

      S Offline
      S Offline
      sashidhar
      wrote on last edited by
      #2

      I dont think forms authentication will be a issue here..! Make ths dll url to give access add the configuration in web.config file Give the dll to access to all the pages..!

      <location path="YourDlllocation">
      <system.web>
      <authorization>
      <allow users="*"/>
      </authorization>
      </system.web>
      </location>

      LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

      R 1 Reply Last reply
      0
      • S sashidhar

        I dont think forms authentication will be a issue here..! Make ths dll url to give access add the configuration in web.config file Give the dll to access to all the pages..!

        <location path="YourDlllocation">
        <system.web>
        <authorization>
        <allow users="*"/>
        </authorization>
        </system.web>
        </location>

        LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

        R Offline
        R Offline
        Raheem MA
        wrote on last edited by
        #3

        Thank you for your quick response, but, Even though its not working with the third party tools. Anybody knows any other way to take screenshot/thumbnail of the current page in asp.net web application? Thank you in advance, Raheem MA

        S 1 Reply Last reply
        0
        • R Raheem MA

          Thank you for your quick response, but, Even though its not working with the third party tools. Anybody knows any other way to take screenshot/thumbnail of the current page in asp.net web application? Thank you in advance, Raheem MA

          S Offline
          S Offline
          sashidhar
          wrote on last edited by
          #4

          Try this links it may help...! http://www.codegod.de/WebAppCodeGod/Screenshot-of-Webpage-with-ASP-NET-AID398.aspx[^] http://www.developerfusion.com/code/4630/capture-a-screen-shot/[^]

          LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups