O'Reilly logo

Extending Microsoft Dynamics NAV 2016 Cookbook by Alexander Drogin

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

Sending events from add-ins to NAV server

In the next recipe, we will update the web browser control and enrich it with a custom address bar that will change the background color depending on the browser state. Browser control should implement events to communicate its current state to other components. NAV server will subscribe to events and update the address bar accordingly.

Getting ready

The current recipe is based on the project developed in the Developing control add-ins recipe. Complete the walkthrough or copy the source code from the source files accompanying the book.

How to do it...

  1. Run Visual Studio and open the NavBrowserControl project created in the Developing control add-ins recipe.
  2. For this demo, we will declare two custom event handlers. ...

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