Displaying a .NET add-in on a page
The Microsoft Dynamics 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 that are available in .NET Windows Forms.
Getting ready
Microsoft Visual Studio must be installed on your system to use this recipe. I have used Visual Studio 2010; however, this recipe is compatible with Visual Studio 2008 as well.
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's installation folder under
RoleTailored Client
.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")...