tag:blogger.com,1999:blog-7805972021499203804.post2950355195838334916..comments2023-10-30T06:24:14.411-07:00Comments on ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview: Asp.net Export WebPage with Images to PDF using iTextSharp in C#, VB.NETSuresh Dasarihttp://www.blogger.com/profile/01337689983379917267noreply@blogger.comBlogger71125tag:blogger.com,1999:blog-7805972021499203804.post-32520968823238426712019-01-16T07:32:40.187-08:002019-01-16T07:32:40.187-08:00Hi Suresh,
I am trying to use iTextsharp.dll to c...Hi Suresh,<br /><br />I am trying to use iTextsharp.dll to convert my invoice page to pdf. But I am getting error at htmlParser.Parse(sr);<br /><br />error message:<br />=============<br />An exception of type 'System.InvalidCastException' occurred in itextsharp.dll but was not handled in user code<br />Additional information: Unable to cast object of type 'Anonymoushttps://www.blogger.com/profile/16533395237157136027noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-53746987501146383382018-09-20T04:58:47.536-07:002018-09-20T04:58:47.536-07:00Hi, thanks alot for you
i have one problem ,evry ...Hi, thanks alot for you <br />i have one problem ,evry thing it's converted very good except the gridview nothing in appears in pdfAnonymoushttps://www.blogger.com/profile/08557503311490743993noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-31751998871309026722018-09-13T03:37:27.045-07:002018-09-13T03:37:27.045-07:00hello suresh,
i wanna ask u something how to set h...hello suresh,<br />i wanna ask u something how to set html table background image and print to pdf in windows application,actually i am creating string builder html table and set table background image but when i print table to pdf there is no image showing in pdf.<br />Anonymoushttps://www.blogger.com/profile/13818870651998571844noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-52600710598574317132017-06-12T04:11:38.995-07:002017-06-12T04:11:38.995-07:00lorium ipsum :-
Did u find any solution?
Iam also ...lorium ipsum :-<br />Did u find any solution?<br />Iam also facing the same issueAnonymoushttps://www.blogger.com/profile/02601152435022077394noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-43931043582905715602017-06-12T04:09:27.791-07:002017-06-12T04:09:27.791-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/02601152435022077394noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-17636273653352186102017-06-12T04:08:17.600-07:002017-06-12T04:08:17.600-07:00How to Convert/Export an ASPX web page with texbox...How to Convert/Export an ASPX web page with texboxes and other controls(Checkbox,Radio buttons etc) to PDF using itextsharp<br /><br />Can any one help?Anonymoushttps://www.blogger.com/profile/02601152435022077394noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-66065726919077442142017-05-13T22:42:09.468-07:002017-05-13T22:42:09.468-07:00I got an error msg: Illegal characters in path.......I got an error msg: Illegal characters in path.......<br />on htmlparser.Parse(sr);<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-75595798110605260872016-02-03T01:51:23.648-08:002016-02-03T01:51:23.648-08:00hi ..How can i convert .aspx page to PDF which con...hi ..How can i convert .aspx page to PDF which contain many tables some label control where data is binded ..How to do thislorium ipsumhttps://www.blogger.com/profile/12575609817812556291noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-71144523914118464782015-10-08T01:09:36.240-07:002015-10-08T01:09:36.240-07:00I'm not a developer, i always use this free on...I'm not a developer, i always use this free <a href="http://www.online-code.net/pdf-to-image.html" rel="nofollow">online pdf to image converter</a><br />DomFilkhttps://www.blogger.com/profile/04998362585798811698noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-50796194437073685092015-03-20T15:56:01.798-07:002015-03-20T15:56:01.798-07:00"Remote Server Error (407) proxy authenticati..."Remote Server Error (407) proxy authentication required"Gokufasthttps://www.blogger.com/profile/14117494682824490220noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-5744680093814438702015-01-10T03:23:36.137-08:002015-01-10T03:23:36.137-08:00sir .... vvv urjent how to display dynamic image (...sir .... vvv urjent how to display dynamic image (Comming from codebehind file url) in pdf file ...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-19186534244167617352014-10-27T01:10:55.795-07:002014-10-27T01:10:55.795-07:00Hindi font is not display using this code Hindi font is not display using this code Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-617907398017287202014-09-23T02:38:47.074-07:002014-09-23T02:38:47.074-07:00Hindi font is not display using this codeHindi font is not display using this codeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-71301865396383421482014-09-22T23:56:32.055-07:002014-09-22T23:56:32.055-07:00Extender control 'ConfirmButtonExtender1' ...Extender control 'ConfirmButtonExtender1' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors().<br />Parameter name: extenderControlManish Swarnkarhttps://www.blogger.com/profile/10806199107822649779noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-80398255127252709512014-08-21T03:36:26.268-07:002014-08-21T03:36:26.268-07:00Protected Sub imgPdf_Click(ByVal sender As Object,...Protected Sub imgPdf_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles imgPdf.Click<br /> Dim outputFilename = qHeaderID & "-SurveyPrint"<br /> Dim filename As String = ConfigurationManager.AppSettings("ExportFilePath") + "\\" & outputFilename & ".pdf"<br /> Dim fileList As Anonymoushttps://www.blogger.com/profile/06743344036573363176noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-42360703592578978252014-06-27T04:21:29.018-07:002014-06-27T04:21:29.018-07:00Hello sir i have used your code to export Aspx pag...Hello sir i have used your code to export Aspx page to pdf & it works fine but when i am using a ajax controls then it gives me error message i.e :-<br />"<br />Extender control 'CalendarExtender2' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors().<br />Parameter name: Anonymoushttps://www.blogger.com/profile/11285850919596017960noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-77629155082053007662014-06-02T23:53:03.178-07:002014-06-02T23:53:03.178-07:00Hi sir,
I am trying to conver pdf to image files....Hi sir,<br /><br />I am trying to conver pdf to image files.<br />How to convert pdf to jpg.<br /><br />Please help me out<br /><br />Pratik Panbudehttps://www.blogger.com/profile/05855353946689521446noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-66698917823433439362014-05-28T23:11:58.133-07:002014-05-28T23:11:58.133-07:00how to sole this problem
System.NullReferenceExce...how to sole this problem<br /><br />System.NullReferenceException: Object reference not set to an instance of an object.<br /><br /> at iTextSharp.text.html.simpleparser.HTMLWorker.CreateLineSeparator(IDictionary`2 attrs)<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-22993591846461385702014-04-30T02:55:11.593-07:002014-04-30T02:55:11.593-07:00Hi sir,
m extracting a form to pdf which is like t...Hi sir,<br />m extracting a form to pdf which is like table structure, created with "div" tags..<br />After Exporting it to pdf, it comes in a single line and the table structure is no longer visible...<br />can u pls suggest any solution?????Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-35449610306365306372014-04-26T02:58:56.336-07:002014-04-26T02:58:56.336-07:00use your code
but error Unable to cast obj...use your code<br />but error Unable to cast object of type 'iTextSharp.text.html.simpleparser.IncTable' to type 'iTextSharp.text.ITextElementArray'. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-55676487674120620962014-04-26T02:29:28.584-07:002014-04-26T02:29:28.584-07:00Server Error in '/OCAP' Application.
Inva...Server Error in '/OCAP' Application.<br /><br />Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-65446160178534326382014-04-12T01:09:54.544-07:002014-04-12T01:09:54.544-07:00Sir... while saving as pdf Gridview headers are no...Sir... while saving as pdf Gridview headers are not shown and all the data is assigned to right of the page and PDF is using 100% page size for showing grid ...<br /><br />is there any method to save pdf in same format as it looks as webpage S kaushikhttps://www.blogger.com/profile/10874117470503607223noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-1841906683023871212014-03-07T02:28:16.627-08:002014-03-07T02:28:16.627-08:00i m using this code bt i m getting error..
Input ...i m using this code bt i m getting error..<br /><br />Input string was not in a correct format.<br /><br />Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br /><br />Exception Details: System.FormatException: Input string was not in a correct Anonymoushttps://www.blogger.com/profile/12678321925280380205noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-51814714878887225862014-02-25T22:11:03.751-08:002014-02-25T22:11:03.751-08:00HI have arise image overwrite issue. Can you pleas...HI have arise image overwrite issue. Can you please help for it.<br />How it solved.?<br /><br />I have shared screenshot.<br />https://picasaweb.google.com/102349157032425307790/February252014#5984291658391518402Anonymoushttps://www.blogger.com/profile/05282952035502577903noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-79487263161858657702014-01-07T23:06:17.162-08:002014-01-07T23:06:17.162-08:00Hi suresh, your code is working But rendered pdf c...Hi suresh, your code is working But rendered pdf cannot open in Adobe Acrobat reader and says "either not a file type or Content Damaged"Anonymousnoreply@blogger.com