web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to export to excel in enterprise portal in XLSX format by C# from the AX grid view

(1) ShareShare
ReportReport
Posted on by 10

I am working in the AX 2012 in Enterprise portal.

There is a user control and I have opened this user control in VS 2013.

Could anybody helped me that how I can export this grid view data in XLSX format. 

I have the same question (0)
  • Bharat Veer Profile Picture
    10 on at
    RE: How to export to excel in enterprise portal in XLSX format by C# from the AX grid view

    Hi Anup,

    Thank you for your reply. But my scenario is different. There is a user control on which I need to give

    export functionality in enterprise portal. so I have opened this user control in Visual Studio and put a button here. I wrote down a C# code here to export the data from AX grid view in the excel. But the data exported in HTML format. Now I am asked to export the data in the Excel format. But for that I need to add some extra DLL.

    when I add that dll in my user control it gives compilation error. So could you tell me how could I add some custom dll that I download from the net to my enterprise portal user control. If some how it is possible then I can do this functionality.

    Thanks in advance.

  • Suggested answer
    Anup Shah MSFT Profile Picture
    on at
    RE: How to export to excel in enterprise portal in XLSX format by C# from the AX grid view

    I am not sure if this possible. There is standard export to excel capability on list pages. If you are thinking of exporting large data it may be too slow. Maybe use DIXF?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 745 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 597 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 580 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans