简体   繁体   English

打开页面上的Microsoft Dynamics Nav插件

[英]Microsoft Dynamics Nav Addin on Open Page

Im developing a Microsoft Dynamics Nav Addin. 我正在开发Microsoft Dynamics Nav插件。

The addin returns a TreeView. 插件返回一个TreeView。

I have and action in the page to fill nodes using nav table rows. 我在页面中有操作要使用导航表行填充节点。

My Action works fine, but i want to fill my TreeView when the page is loaded and the addin initilzed 我的动作工作正常,但是我想在页面加载和初始化插件时填充我的TreeView

I tried every page events, and i always get the same error "The addin isnt initialized yet" 我尝试了每个页面事件,但总是收到相同的错误“尚未初始化插件”

I tried to Raise the onControlAddin event overwriting the OnInitialize event and didnt work 我试图引发onControlAddin事件以覆盖OnInitialize事件,但没有起作用

How can I now when the addin is initialized in the page and then call the nav function to fill the Addin? 现在,当在页面中初始化插件后如何调用导航功能以填充插件时,我现在该怎么办?

Thank You 谢谢

I think you are looking for ControlAddInReady event. 我认为您正在寻找ControlAddInReady事件。 It described in this video 它在这个视频中描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM