Export to Excel in Data Dynamic Active report

Posted on 2009-02-23
Last Modified: 2012-05-06
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

Question by:PresageSolutions
    LVL 100

    Assisted Solution

    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


    Accepted Solution

    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.
    LVL 100

    Expert Comment

    Recommend this be deleted unless a solution to the problem is provided.

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


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now