Im developing a Microsoft Dynamics Nav Addin.

The addin returns a 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

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

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. It described in this video

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top