dotnetnuke - 在 DNN 中安装模块期间创建模块控制

标签 dotnetnuke dotnetnuke-module dotnetnuke-6

我已经完成了 dotnetnuke 的模块开发,但我需要在安装模块后添加我的控件页面,而不是自己添加所有控制页面

enter image description here

最佳答案

找到我的答案:

在解决方案资源管理器中,有一个名为您的模块名称且文件扩展名为 dnn 的文件。例如:MyModule.dnn

打开它并查找标签 <moduleControl> 。从那里您可以创建自己的控件,该控件将在安装过程中添加。

这是我的例子:

<moduleControl>
    <controlKey>GestionCategories</controlKey>
    <controlSrc>DesktopModules/DemandePosteEnLigne/GestionCategories.ascx</controlSrc>
    <supportsPartialRendering>False</supportsPartialRendering>
    <controlTitle>Gestion des Categories</controlTitle>
    <controlType>Edit</controlType>
    <iconFile />
    <helpUrl />
    <viewOrder>0</viewOrder>
    <supportsPopUps>True</supportsPopUps>
</moduleControl>

关于dotnetnuke - 在 DNN 中安装模块期间创建模块控制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11637320/

相关文章:

dotnetnuke - 有什么方法可以从皮肤中覆盖 Default.aspx 的功能吗?

asp.net - 如何在 Dotnetnuke 7.0 中添加规范标签

azure - Windows Azure(dotnetnuke模块安装错误)

javascript - dnn 中的 jquery SlideToggle

dotnetnuke - 如何在左侧菜单中显示主菜单的子项

c# - 打开 DotNetNuke 链接弹出窗口

.net - 如何删除出现在 DNN 站点上的最大化最小化按钮

c# - 我可以在不将页面限制为特定模块的情况下呈现 DotNetNuke 模块的控件吗?

dotnetnuke - 如何在 DNN 6.3 创建的网站上设置 Google Analytics?