Webgrid server side export

4 replies. Last post: February 19, 2010 4:28 AM by Allan Donald
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Allan DonaldMember

Hi,

How can i export webgrid values  to pdf from server side by clicking on a button.

I have done a code, In TempReports folder report is coming.. but not displaying..

on button click event

WebGrid1.ExportGrid(SetDynInfo())

Function is: 

Private Function SetDynInfo() As DynARInfo

        Dim Infopdf As New DynARInfo("PDF", Server.MapPath("~/TempReports") & "\")
        Infopdf.IISReportPath = "/TempReports/"
Infopdf.DynPageOrientation = PageOrientation.Portrait
Return Infopdf  
End Function

 

All times are GMT -5. The time now is 11:49 PM.
Previous Next