North American Sales: 1-800-231-8588
Global Contacts
My Account
Menu
North American Sales: 1-800-321-8588
My Account
Sign In/Register
Design & Development
Design & Develop
Best Value
Infragistics Ultimate
The complete toolkit for building high performing web, mobile and desktop apps.
Indigo.Design
Use a unified platform for visual design, UX prototyping, code generation and application development.
Web
Ignite UI for Angular
Ignite UI for JavaScript
Ignite UI for React
Ultimate UI for ASP.NET
Indigo.Design
Desktop
Ultimate UI for Windows Forms
Ultimate UI for WPF
Prototyping
Indigo.Design
Mobile
Ultimate UI for Xamarin
Ultimate UI for iOS
Ultimate UI for Android
Automated Testing Tools
Test Automation for Micro Focus UFT: Windows Forms
Test Automation for Micro Focus UFT: WPF
Test Automation for IBM RFT: Windows Forms
UX
Indigo.Design Desktop
Collaborative prototyping and remote usability testing for UX & usability professionals
Indigo.Design
A Unified Platform for Visual Design, UX Prototyping, Code Generation, and App Development
Business Intelligence
Reveal Embedded
Accelerate your time to market with powerful, beautiful dashboards into your apps
Reveal App
Empower everyone in your organization to use data to make smarter business decisions
Team Productivity
Learn & Support
Support
Help & Support Documents
Blogs
Forums
Product Ideas
Reference Applications
Customer Stories
Webinars
eBook & Whitepapers
Events
Free Trials
Pricing
Product Pricing / Buy Online
Renew Existing License
Contact Us
Forums
Ultimate UI for ASP.NET Web Forms
Your Privacy Matters
: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use.
Cookie Policy
Close
State
Not Answered
Replies
1 reply
Subscribers
8 subscribers
Views
373672 views
Users
0 members are here
Documents Library
Share
More
Cancel
90
How to export grid in pdf format
Farid
posted
over 16 years ago
I want to export the grid in pdf format and also want to add some information in header of the pdf file. I know this will be done usint the document exporter but how to do this please help me. below is my code but this is not working Report rpt = new Report(); ISection sec = rpt.AddSection(); DocumentExporter1.Export(ug1, sec); rpt.Publish("MyFile", FileFormat.PDF); This does nothing. i am upset please help me. Thank you all good guys! Advance.
90
Farid
posted
over 16 years ago
Oh My God! I found this way to export the simple grid without any header in PDF format. DocumentExporter1.Format = FileFormat.PDF; DocumentExporter1.DownloadName = "asapTransaction.pdf"; DocumentExporter1.Export(ug1); But when i use this code in a page with master page this again generates error. When i run my project in debug mode This error opens a open file dialoge with title "Find Source: ExtenderControlBase". And on canceling this dialoge box i got the following error "There is no source code available for the current location." I dont know what is this. I just want to export my ultragrid in pdf format with some information in header like report title and the dates range for which i am displaying data in grid. Please someone help me, i am sure one must have faced this problem and solved this. I am working from last 5 hours and still not successfull.
Cancel
Reply
Cancel