How to save the contents(images) on a panel as an image using asp.net/C#?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nilla2010
    New Member
    • Sep 2010
    • 14

    How to save the contents(images) on a panel as an image using asp.net/C#?

    Hi,

    How to save the drawing (contents) on a panel as an image using C# and asp.net.I found Panel1.DrawToBi tmap but its not working in the asp.net ,is there any assembly i am missing or the function is altogether different ?

    Thanks
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    DrawToBitmap is not going to work in ASP.NET because the content within a Panel (when it is rendered) is HTML for the controls that are within it.

    I don't know how to achieve what you are looking for because you would have to create the image client side somehow...

    -Frinny

    Comment

    Working...