• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3212
  • Last Modified:

Export to Excel in Data Dynamic Active report

I am using Active Report 3.0 for my reporting purpose. Basically I am find hard time when client ask for export to excel functionality.

I came to know that it is not much more complicated things. There is a class available and I can used that. See my Exporting to Excel code section.

Now, I want this export functionality on report right click but report view does not allow me. I have tried context menu but it is not working. Is there any way to modify viewer property and add something in to it.

Basically I have problem with integrating functionality.
Exporting to Excel
 
System.IO.FileStream fs = new System.IO.FileStream(filename, System.IO.FileMode.Create);
xlsExport.Export(rpt.Document, fs);

Open in new window

0
PresageSolutions
Asked:
PresageSolutions
  • 2
2 Solutions
 
mlmccCommented:
I don't think you can add a right click capcbility to the viewer.

You could add a button to click to do the export

mlmcc
0
 
PresageSolutionsAuthor Commented:
Thanks for your replay mlmcc. But I am able to add context menu and there is some problem with my context menu which I have solved later on.

Export to excel functionality is working fine.
0
 
mlmccCommented:
Recommend this be deleted unless a solution to the problem is provided.

In any case my comment is not worthy of any points.

mlmcc
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now