I’m exporting a PDF file using
RadGrid1.MasterTableView.ExportToPdf()
This is a sub. My question is: Can I get the exported file path somehow?
Thank you in advance,
Lajos Árpád.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you export, the NeedDataSource event will fire. Store the data into a simple ADO.NET Datatable.
Self Explanatory. Removes the text boxes, leaves just the text.
To store on the server, add an OnGridExporting event.
You can change “RadGrid.pdf” to whatever you want it to be called.
And finally a button to make all this happen (or you can just call the ExportToPdf function wherever.