in html i have = "<input id=first_name type=input value=[FirstName] name=first_name>"
when i am trying to convert this html to pdf
i am getting following error :
System.NullReferenceException: Object reference not set to an instance of an object. at CuteEditor.Convertor.PDF.PDFRect.AddForm(HTMLForm field) at CuteEditor.Convertor.PDF.HTML2PDF.a(HTMLNode A_0, FontStyle A_1, Int32& A_2) at CuteEditor.Convertor.PDF.HTML2PDF.a(HTMLNode A_0, FontStyle A_1, Int32& A_2) at CuteEditor.Convertor.PDF.HTML2PDF.a(HTMLNode A_0, FontStyle A_1, Int32& A_2) at CuteEditor.Convertor.PDF.HTML2PDF.a(HTMLNode A_0, FontStyle A_1, Int32& A_2) at CuteEditor.Convertor.PDF.HTML2PDF.a(HTMLNode A_0, FontStyle A_1, Int32& A_2) at CuteEditor.Convertor.PDF.HTML2PDF.a(HTMLNode A_0, FontStyle A_1, Int32& A_2) at CuteEditor.Convertor.PDF.HTML2PDF.Render() at AleetNet.AlCreatePDF.CreateAndViewPDF()
i am using following code :
CuteEditor.Convertor.PDF.HTML2PDF html2pdf = new CuteEditor.Convertor.PDF.HTML2PDF(sContent);
html2pdf.Render();
html2pdf.Save(sPdfPath);
please give me any suggestions.
Thanks,
Gurpreet