Forms Manager communicates w/ addin module

Add-in Express™ Support Service
That's what is more important than anything else

Forms Manager communicates w/ addin module
 
Rup Go




Posts: 64
Joined: 2007-03-01
Hi,

My Form Manager has an AddinExpress.OL.ADXOlForm named DASHBOARD that is shown in WebViewPane. Is there a way that this DASHBOARD instance communicates w/ AddinModule class, meaning for example there is a button in the dashboard and when clicked i want AddinModule to trigger a public method. I can't seem to find a way to link each other because Form Manager manages to create an instance of the form in its own way

this.cmsItem.Cached = AddinExpress.OL.ADXOlCachingStrategy.OneInstanceForAllFolders;
this.cmsItem.ExplorerLayout = AddinExpress.OL.ADXOlExplorerLayout.WebViewPane;
this.cmsItem.FormClassName = "CMS.Interface.Dashboard";

is there a way to instantiate the DASHBOARD w/ a constructor that has parameters?

like Dashboard temp = new Dashboard(AddinModule myModule)

thanks

Posted 30 Apr, 2007 04:00:01 Top
Fedor Shihantsov


Guest


Hi Rup,

ADXOlForm has the AddinModule property.
You can use this property by the following way:
(this.AddinModule as [Namespace].AddinModule).CustomPublicMethod();

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 30 Apr, 2007 05:22:00 Top
Rup Go




Posts: 64
Joined: 2007-03-01
Oh thanks a lot!
Posted 01 May, 2007 21:36:07 Top