Displaying a .NET add-in on a page
The NAV Page Designer is limited in what it can do and what data it can display. By creating a visual .NET add-in and adding it to a page, you can display your data in the same formats available in .NET Windows Forms.
Getting ready
Download and install the client add-in tool from Christian Abeln.
How to do it...
Create a new class library project in Visual Studio.
Add the following references to the project:
System.Windows.Forms Microsoft.Dynamics.Framework.UI.Extensibility
The latter can be found in the NAV installation directory under the
RoleTailored client
folder.Add the following code to the program:
using System.Xml; using System.Data; using System.Windows.Forms; using Microsoft.Dynamics.Framework.UI.Extensibility; using Microsoft.Dynamics.Framework.UI.Extensibility.WinForms; namespace RSSReader { [ControlAddInExport("NAV_RSS")] public class RSSReaderAddIn : WinFormsControlAddInBase { private DataGridView...