Namespace error: ApplicationEventHandler-ControlAddInReady

kytohkytoh Member Posts: 11
edited 2014-05-19 in NAV Three Tier
I am trying to build a simple add-in control that exposes the ControlAddInReady event in Navision page, just like this guide demonstrated.
http://blogs.msdn.com/b/nav/archive/201 ... lient.aspx

The code is as below:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Dynamics.Framework.UI.Extensibility;

namespace NavWeb
{
    [ControlAddInExport("NavWeb")]
    public class Class1
    {
        public interface iNavWeb
        {
            [ApplicationVisible]
            event ApplicationEventHandler ControlAddInReady;
        }  
        
    }    
}

I am getting compilation error at "event ApplicationEventHandler ControlAddInReady;" line.
Error: The type or namespace name 'ApplicationEventHandler' could not be found (are you missing a using directive or an assembly reference?)

I have already added Microsoft.Dynamics.Framework.UI.Extensibility.dll to the reference.
The dll is from the standard path at [C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client].
What am I missing here?

Comments

  • kytohkytoh Member Posts: 11
    Sorry, I think I found the answer.
    This feature is only available in Navision 2013 R2, and I am using Navision 2013 only. #-o
Sign In or Register to comment.