I am using iTextSharp to export both the grids into a pdf. I am using the code below to create a form dynamically and then rerender it into a pdf:
form = new HtmlForm();
StringWriter sw = new StringWriter();
HtmlTextWriter hTextWriter = new HtmlTextWriter(sw);
I am getting several errors during the 'form.Controls.RenderControl(hTextWriter)' .
This code is unable to render all the telerik controls in the RadGrid.
Is there any other way that this could be achieved? Should i look into other options that will be better than itextSharp ?
Thanks in advance.