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

Announcements

No record found.

News and Announcements icon
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)
  • Suggested answer
    Anup Shah MSFT Profile Picture
    Microsoft Employee on at

    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?

  • Bharat Veer Profile Picture
    10 on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans