We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error 'GetColWidths()' is an unknown XSLT function when using BindToHtml

I found this code in the forums which looks reasonable enough and so I tried a test.

pdf = New Aspose.Pdf.Pdf
Dim surl As String = Request.Url.ToString()
Dim webClient As WebClient = New WebClient
byte[] myDataBuffer = webClient.DownloadData(surl)
MemoryStream(postStream = New MemoryStream(myDataBuffer))

but I get an error shown in the subject line when using the dll. If anyone has any
suggestions or alternate approachs THANK YOU!

I simply need to create a PDF of the current .aspx page and then attach it to an email.
Wasnt expecting to hit the wall so soon. Thanks.


Thank you for considering Aspose.

Can you please zip your aspx file and attach it here. We will check it and let you know.