O'Reilly logo

Microsoft Dynamics NAV 7 Programming Cookbook by Rakesh Raul

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

  1. Create a new class library project in Visual Studio.
  2. Add the following references to the project:
    System.Windows.Forms
    Microsoft.Dynamics.Framework.UI.Extensibility
  3. The latter can be found in the NAV's installation folder under RoleTailored Client.
  4. Add the following code to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required