How do you add the Ignite UI Dock Manager to an ASP.NET MVC (.NET Framework) app?
I tried the technique at the link below, but got error 403 when loading the dockmanager using the script below.
https://www.igniteui.com/dock-manager/overview
This script throws error 403, so the dock manager shown in the page above does not work.
<script type="module"> import { defineCustomElements } from 'cdn-na.infragistics.com/.../index.mjs'; defineCustomElements(); window.moduleLoaded = true; </script>
Hello Ray,
Thank you for posting in our community.
You can use this CDN link in order to add the Dock Manager component into your project: https://cdn.jsdelivr.net/npm/igniteui-dockmanager/loader/index.js. However, please note that if you are using the CDN link you will get the trial version of the product and a trial watermark will be displayed on the page.
I believe you will find this topic of our official documentation very helpful in order to acquire the licensed version of Ignite UI Dock Manager. Basically, you can use the private npm feed or you can download the package from our ProGet site. In order to do this you have to log-in to https://packages.infragistics.com and go to js-licensed feed, next find the @infragistics/igniteui-dockmanager package, choose which version of it you would like to use and after that you will be able to download it in .tgz file.
Please let me know if you need any further assistance regarding this matter.
Regards,Viktor KombovEntry Level Software DeveloperInfragistics, Inc.
That worked! I have successfully added the Dock Manager to my MVC app. Thank you!
I will add slightly to your answer for others who might read this. I hope I'm doing it right. It seems to work.
1. You must extract the downloaded tgz file into a new folder
2. Add the folder to your project
3. Change the <script> tag to something like the one below
4. Remove this clause from the JavaScript from the igniteui page above. "if (!window.moduleLoaded)"
<script type="module"> import { defineCustomElements } from '/Scripts/Infragistics/igniteui-dockmanager-package-1.7.0/package/loader/index.js'; defineCustomElements(); window.moduleLoaded = true; </script>