I\'m trying to export a gridview to pdf with package iTextSharp.
I\'m doing it in my .aspx files :
Add the Rendering Function after your PDF code
Rendering
public override void VerifyRenderingInServerForm(Control control) { // verifies the control is rendered here }