How can i convert an .aspx page to a PDF file in button click using ASP.NET?
Refer
Export ASP.Net Web Page with images to PDF using ITextsharp
thanks, for ur reply
when i debug code and reach at " htmlparser.Parse(sr) "
i get error like " A page can have only server-side form tag."
in my aspx page there is only one form tag and i havent inherited any master page
kindly guide me
There should be somewhere one more Form tag as you should not get this error
thanks, for ur quickly reply
i get error like "Input string is not in proper format ."
hello,
now i get the error "Unable to cast object of type 'iTextSharp.text.html.simpleparser.CellWrapper' to type 'iTextSharp.text.Paragraph'
plz guide me
what i do
thanks
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.