Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
4a1ca0f
Introduction of settings necessary for an MVC Pipeline
donker May 22, 2026
e87fbdd
Update DNN Platform/Library/Services/Upgrade/Upgrade.cs
donker May 27, 2026
a32d670
Update Dnn.AdminExperience/Dnn.PersonaBar.Extensions/admin/personaBar…
donker May 27, 2026
9feeef5
Update Dnn.AdminExperience/Dnn.PersonaBar.Extensions/admin/personaBar…
donker May 27, 2026
c206616
Update Dnn.AdminExperience/Dnn.PersonaBar.Extensions/admin/personaBar…
donker May 27, 2026
846589c
Update DNN Platform/Library/Data/DataProvider.cs
donker May 27, 2026
4202307
Update DNN Platform/Library/Data/DataProvider.cs
donker May 27, 2026
11bc0fb
Add overload
donker May 27, 2026
044a410
Change pipeline type to an enum
donker May 27, 2026
325616e
Reshuffle code
donker May 27, 2026
9cbb27c
Make the page pipeline setting a column on the tabs table
donker May 31, 2026
06fa7c0
Merge branch 'develop' into feature/mvc-pipeline-settings
donker Jun 4, 2026
9004c9c
Increase version of IPortalSettings interface
donker Jun 4, 2026
ddea5b1
Move method from interface to extension method
donker Jun 4, 2026
e133c2e
Bump react-router in the npm_and_yarn group across 1 directory
dependabot[bot] Jun 3, 2026
c6176cd
Misc clean up
bdukes Jun 8, 2026
7223747
Add folder icon to Site Assets root node in Resource Manager.
r90727 Jun 7, 2026
eb1276f
reusing css from child element on the root
r90727 Jun 7, 2026
3b29b60
Update DNN Platform/Library/Common/Utilities/UrlUtils.cs
donker Jun 9, 2026
cc87fbf
Update DNN Platform/Library/Common/Utilities/UrlUtils.cs
donker Jun 9, 2026
d40577c
Update DNN Platform/Library/Common/Utilities/UrlUtils.cs
donker Jun 9, 2026
6aa8bb5
Update DNN Platform/Library/Common/Utilities/UrlUtils.cs
donker Jun 9, 2026
ea55281
Update DNN Platform/Library/Common/Utilities/UrlUtils.cs
donker Jun 9, 2026
513207c
Update DNN Platform/Library/Common/Utilities/UrlUtils.cs
donker Jun 9, 2026
91e6ec7
Update DNN Platform/Library/Common/Utilities/UrlUtils.cs
donker Jun 9, 2026
3dd954b
Update DNN Platform/Library/Common/Utilities/UrlUtils.cs
donker Jun 9, 2026
eb1adee
Bump github/codeql-action from 4.36.0 to 4.36.1
dependabot[bot] Jun 9, 2026
d5c1ce4
Bump actions/checkout from 6.0.2 to 6.0.3
dependabot[bot] Jun 9, 2026
448e565
Bump github/codeql-action from 4.36.1 to 4.36.2
dependabot[bot] Jun 11, 2026
3f40269
Bump the nuget group with 1 update
dependabot[bot] Jun 12, 2026
289b609
Bump Yarn from 4.13.0 to 4.16.0
bdukes Jun 8, 2026
16b0336
Bump lodash from 4.17.23 to 4.18.1
bdukes Jun 8, 2026
9ad98d6
Bump brace-expansion
bdukes Jun 8, 2026
2936a4d
Bump yaml from 2.8.0 to 2.9.0
bdukes Jun 8, 2026
b3c5dfb
Bump ws from 8.20.1 to 8.21.0
bdukes Jun 8, 2026
78112af
Bump rsbuild
bdukes Jun 8, 2026
dc32948
Bump stencil
bdukes Jun 8, 2026
87194fc
Bump @eslint/compat from 2.0.3 to 2.1.0
bdukes Jun 8, 2026
ea18d08
Bump storybook from 10.3.3 to 10.4.2
bdukes Jun 8, 2026
d474264
Bump typescript-eslint from 8.57.2 to 8.60.1
bdukes Jun 8, 2026
9d5a637
Bump vite from 8.0.2 to 8.0.16
bdukes Jun 8, 2026
9a31537
Bump zip-lib from 1.3.1 to 1.3.4
bdukes Jun 8, 2026
d693b19
Bump @types packages
bdukes Jun 8, 2026
59d949c
Bump autoprefixer from 10.4.27 to 10.5.0
bdukes Jun 8, 2026
0cb37ad
Bump cssnano from 7.1.3 to 7.1.9
bdukes Jun 8, 2026
9961f2e
Bump cssnano from 7.1.9 to 8.0.1
bdukes Jun 8, 2026
f9dbc77
Bump dayjs from 1.11.20 to 1.11.21
bdukes Jun 8, 2026
cfa6e0e
Bump dompurify from 3.3.3 to 3.4.8
bdukes Jun 8, 2026
43623eb
Bump eslint-import-resolver-node from 0.3.9 to 0.3.10
bdukes Jun 8, 2026
ca50276
Bump eslint-import-resolver-node from 0.3.10 to 0.4.0
bdukes Jun 8, 2026
b384fef
Bump chokidar from 4.0.3 to 5.0.0
bdukes Jun 8, 2026
3ff9395
Bump eslint from 10.2.1 to 10.4.1
bdukes Jun 8, 2026
2248400
Bump @eslint/js from 9.39.4 to 10.0.1
bdukes Jun 8, 2026
56a2224
Bump eslint-plugin-jest from 29.15.0 to 29.15.2
bdukes Jun 8, 2026
a432f18
Bump eslint-plugin-storybook from 10.3.3 to 10.4.2
bdukes Jun 8, 2026
c7642b6
Bump globals from 17.4.0 to 17.6.0
bdukes Jun 8, 2026
710bdad
Bump html-react-parser from 5.2.17 to 6.1.3
bdukes Jun 8, 2026
c37daad
Bump jest from 30.3.0 to 30.4.2
bdukes Jun 8, 2026
ac60857
Bump kiti from 2.6.1 to 2.7.0
bdukes Jun 8, 2026
34adac4
Bump nanoid from 5.1.7 to 5.1.11
bdukes Jun 8, 2026
be25dca
Bump postcss from 8.5.8 to 8.5.15
bdukes Jun 8, 2026
413fe96
Bump react-router from 7.13.1 to 7.17.0
bdukes Jun 8, 2026
5172f73
Bump sass-embedded from 1.98.0 to 1.100.0
bdukes Jun 8, 2026
4ba3263
Bump tsx from 4.21.0 to 4.22.4
bdukes Jun 8, 2026
2d79273
Bump @dnncommunity/dnn-elements from 0.29.2 to 0.29.3
bdukes Jun 8, 2026
7e6f8f7
yarn dedupe
bdukes Jun 8, 2026
56a4b99
Bump yarn in sample project
bdukes Jun 8, 2026
c2dc5b9
Bump react-tooltip from 4.5.1 to 5.30.1
bdukes Jun 8, 2026
c47cf83
Bump react-tooltip from 5.30.1 to 6.0.7
bdukes Jun 8, 2026
60866c6
Bump esbuild in the npm_and_yarn group across 1 directory
dependabot[bot] Jun 12, 2026
f45903e
Force newer esbuild to be used by storybook
bdukes Jun 13, 2026
ef6da8b
Added resolutions comment
valadas Jun 14, 2026
d54a9ad
Update caniuse database
github-actions[bot] Jun 15, 2026
a3748a3
Do not persist credentials after CI checkout
bdukes Jun 16, 2026
1021c62
Do not inline input into script
bdukes Jun 16, 2026
b83d216
Add name to workflow
bdukes Jun 16, 2026
37e077d
Add comment to permission grants
bdukes Jun 16, 2026
ff7ba11
Bump socks and ip-address
bdukes Jun 17, 2026
837befc
Bump ws
bdukes Jun 17, 2026
6226389
bump storybook
bdukes Jun 17, 2026
2d74b21
bump typescript-eslint
bdukes Jun 17, 2026
38c820f
bump eslint
bdukes Jun 17, 2026
5cad3eb
bump cssnano
bdukes Jun 17, 2026
c1241ab
bump esbuild
bdukes Jun 17, 2026
f4a5fab
bump less
bdukes Jun 17, 2026
a2a2ed1
bump react-router
bdukes Jun 17, 2026
3704c75
bump react-tooltip
bdukes Jun 17, 2026
81c827e
bump zip-lib
bdukes Jun 17, 2026
3546605
bump dompurify
bdukes Jun 17, 2026
fcdb64e
Bump tmp in the npm_and_yarn group across 1 directory
dependabot[bot] Jun 15, 2026
9c01f62
Bump dotnet-sdk from 10.0.300 to 10.0.301
dependabot[bot] Jun 17, 2026
84afcb5
Bump the npm_and_yarn group across 1 directory with 2 updates
dependabot[bot] Jun 20, 2026
a23cc68
Bump the npm_and_yarn group across 1 directory with 3 updates
dependabot[bot] Jun 22, 2026
7299ba2
Bump DOMPurify
bdukes Jun 22, 2026
9cc1536
Simplify guard for PR step
bdukes Jun 23, 2026
0722b34
Provide default priority for CDF controls
bdukes Jun 23, 2026
49a1b2e
Fix DnnCssInclude and DnnJsInclude skin objects
bdukes Jun 23, 2026
2c6b272
remove manual version resolution for esbuild
bdukes Jun 17, 2026
1e8787c
yarn dedupe
bdukes Jun 17, 2026
bbc5a33
Bump EnricoMi/publish-unit-test-result-action from 2.23.0 to 2.24.0
dependabot[bot] Jun 22, 2026
05f74eb
Avoids TypeLoadException in PreparePackaging redirect generation
valadas Jun 23, 2026
163aad7
Bump actions/checkout from 6.0.3 to 7.0.0
dependabot[bot] Jun 24, 2026
f374941
Revert "Increase version of IPortalSettings interface"
donker Jun 25, 2026
f954049
New approach to the page pipeline setting
donker Jun 25, 2026
c3702a1
Cleaning up
donker Jun 25, 2026
de8daea
Cleaning up 2
donker Jun 25, 2026
6920a6f
Cleaning up 3
donker Jun 25, 2026
3d284ce
Deprecate and overload dataprovider method
donker Jun 28, 2026
90f194b
Fix to mvc site settings controller
donker Jun 28, 2026
901168f
With previous
donker Jun 28, 2026
f467730
Merge branch 'develop' into feature/mvc-pipeline-settings
donker Jun 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -359,5 +359,8 @@ public interface IPortalSettings

/// <summary>Gets a value indicating whether to display the dropdowns to quickly add a moduel to the page in the edit bar.</summary>
bool ShowQuickModuleAddMenu { get; }

/// <summary>Gets the pipeline type for the portal.</summary>
string PagePipeline { get; }
Comment thread
donker marked this conversation as resolved.
Outdated
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Abstractions.Portals
{
/// <summary>
/// Provides constants for the page pipelines used in the DNN platform,
/// such as WebForms and MVC.
/// </summary>
public static class PagePipelineConstants
{
/// <summary>WebForms.</summary>
public const string WebForms = "webforms";

/// <summary>MVC.</summary>
public const string Mvc = "mvc";

/// <summary>Auto.</summary>
public const string Auto = "auto";
Comment thread
donker marked this conversation as resolved.
Outdated

/// <summary>QueryString key.</summary>
public const string QueryStringKey = "pipeline";

/// <summary>QueryString WebForms.</summary>
public const string QueryStringWebForms = "webforms";

/// <summary>QueryString MVC.</summary>
public const string QueryStringMvc = "mvc";
}
}
10 changes: 9 additions & 1 deletion DNN Platform/Library/Data/DataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1329,14 +1329,21 @@ public virtual void UpdateModuleDefinition(int moduleDefId, string friendlyName,
lastModifiedByUserID);
}

[Obsolete("Deprecated in DotNetNuke 10.99.0. Scheduled removal in v12.0.0.")]
public virtual int AddModuleControl(int moduleDefId, string controlKey, string controlTitle, string controlSrc, string iconFile, int controlType, int viewOrder, string helpUrl, bool supportsPartialRendering, bool supportsPopUps, int createdByUserID)
Comment thread
donker marked this conversation as resolved.
Outdated
{
return this.AddModuleControl(moduleDefId, controlKey, controlTitle, controlSrc, null, iconFile, controlType, viewOrder, helpUrl, supportsPartialRendering, supportsPopUps, createdByUserID);
}

public virtual int AddModuleControl(int moduleDefId, string controlKey, string controlTitle, string controlSrc, string mvcControlClass, string iconFile, int controlType, int viewOrder, string helpUrl, bool supportsPartialRendering, bool supportsPopUps, int createdByUserID)
{
return this.ExecuteScalar<int>(
"AddModuleControl",
this.GetNull(moduleDefId),
this.GetNull(controlKey),
this.GetNull(controlTitle),
controlSrc,
this.GetNull(mvcControlClass),
this.GetNull(iconFile),
controlType,
this.GetNull(viewOrder),
Expand All @@ -1356,7 +1363,7 @@ public virtual IDataReader GetModuleControls()
return this.ExecuteReader("GetModuleControls");
}

public virtual void UpdateModuleControl(int moduleControlId, int moduleDefId, string controlKey, string controlTitle, string controlSrc, string iconFile, int controlType, int viewOrder, string helpUrl, bool supportsPartialRendering, bool supportsPopUps, int lastModifiedByUserID)
public virtual void UpdateModuleControl(int moduleControlId, int moduleDefId, string controlKey, string controlTitle, string controlSrc, string mvcControlClass, string iconFile, int controlType, int viewOrder, string helpUrl, bool supportsPartialRendering, bool supportsPopUps, int lastModifiedByUserID)
Comment thread
donker marked this conversation as resolved.
{
this.ExecuteNonQuery(
"UpdateModuleControl",
Expand All @@ -1365,6 +1372,7 @@ public virtual void UpdateModuleControl(int moduleControlId, int moduleDefId, st
this.GetNull(controlKey),
this.GetNull(controlTitle),
controlSrc,
this.GetNull(mvcControlClass),
this.GetNull(iconFile),
controlType,
this.GetNull(viewOrder),
Expand Down
9 changes: 9 additions & 0 deletions DNN Platform/Library/Entities/Modules/ControlInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ protected ControlInfo()
/// <returns>A String.</returns>
public string ControlSrc { get; set; }

/// <summary>Gets or sets the Mvc Control Class.</summary>
/// <returns>A String.</returns>
public string MvcControlClass { get; set; }

/// <summary>
/// Gets or sets a value indicating whether the control support the AJAX
/// Update Panel.
Expand All @@ -42,6 +46,7 @@ protected override void FillInternal(IDataReader dr)
base.FillInternal(dr);
this.ControlKey = Null.SetNullString(dr["ControlKey"]);
this.ControlSrc = Null.SetNullString(dr["ControlSrc"]);
this.MvcControlClass = Null.SetNullString(dr["MvcControlClass"]);
this.SupportsPartialRendering = Null.SetNullBoolean(dr["SupportsPartialRendering"]);
}

Expand All @@ -55,6 +60,9 @@ protected void ReadXmlInternal(XmlReader reader)
case "controlSrc":
this.ControlSrc = reader.ReadElementContentAsString();
break;
case "mvcControlClass":
this.MvcControlClass = reader.ReadElementContentAsString();
break;
case "supportsPartialRendering":
string elementvalue = reader.ReadElementContentAsString();
if (!string.IsNullOrEmpty(elementvalue))
Expand All @@ -71,6 +79,7 @@ protected void WriteXmlInternal(XmlWriter writer)
// write out properties
writer.WriteElementString("controlKey", this.ControlKey);
writer.WriteElementString("controlSrc", this.ControlSrc);
writer.WriteElementString("mvcControlClass", this.MvcControlClass);
writer.WriteElementString("supportsPartialRendering", this.SupportsPartialRendering.ToString());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public static int SaveModuleControl(ModuleControlInfo moduleControl, bool clearC
moduleControl.ControlKey,
moduleControl.ControlTitle,
moduleControl.ControlSrc,
moduleControl.MvcControlClass,
moduleControl.IconFile,
(int)moduleControl.ControlType,
moduleControl.ViewOrder,
Expand All @@ -127,6 +128,7 @@ public static int SaveModuleControl(ModuleControlInfo moduleControl, bool clearC
moduleControl.ControlKey,
moduleControl.ControlTitle,
moduleControl.ControlSrc,
moduleControl.MvcControlClass,
moduleControl.IconFile,
(int)moduleControl.ControlType,
moduleControl.ViewOrder,
Expand Down
5 changes: 5 additions & 0 deletions DNN Platform/Library/Entities/Modules/ModuleInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,11 @@ public string GetProperty(string propertyName, string format, CultureInfo format
propertyNotFound = false;
result = PropertyAccess.FormatString(this.ModuleControl.ControlSrc, format);
break;
case "mvcControlClass":
isPublic = false;
propertyNotFound = false;
result = PropertyAccess.FormatString(this.ModuleControl.MvcControlClass, format);
break;
case "controltitle":
propertyNotFound = false;
result = PropertyAccess.FormatString(this.ModuleControl.ControlTitle, format);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public interface IPortalSettingsController

PortalSettings.PortalAliasMapping GetPortalAliasMappingMode(int portalId);

string GetPortalPagePipeline(int portalId);
Comment thread
donker marked this conversation as resolved.
Outdated

/// <summary>The GetActiveTab method gets the active Tab for the current request.</summary>
/// <param name="tabId">The current tab's id.</param>
/// <param name="portalSettings">The current PortalSettings.</param>
Expand Down
3 changes: 3 additions & 0 deletions DNN Platform/Library/Entities/Portals/PortalSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,9 @@ public string AddCompatibleHttpHeader
/// <inheritdoc />
public bool ShowQuickModuleAddMenu => PortalController.GetPortalSettingAsBoolean("ShowQuickModuleAddMenu", this.PortalId, false);

/// <inheritdoc/>
public string PagePipeline { get; internal set; }

/// <summary>Create an <see cref="IPortalSettings"/> instance.</summary>
/// <returns>A new <see cref="IPortalSettings"/> instance.</returns>
public static IPortalSettings Create()
Expand Down
16 changes: 14 additions & 2 deletions DNN Platform/Library/Entities/Portals/PortalSettingsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace DotNetNuke.Entities.Portals
using System.Linq;

using DotNetNuke.Abstractions.Application;
using DotNetNuke.Abstractions.Portals;
using DotNetNuke.Collections;
using DotNetNuke.Common;
using DotNetNuke.Common.Utilities;
Expand Down Expand Up @@ -125,7 +126,18 @@ public virtual PortalSettings.PortalAliasMapping GetPortalAliasMappingMode(int p
return aliasMapping;
}

/// <inheritdoc />
/// <inheritdoc/>
public virtual string GetPortalPagePipeline(int portalId)
{
if (PortalController.Instance.GetPortalSettings(portalId).TryGetValue("PagePipeline", out var setting))
{
return string.IsNullOrEmpty(setting) ? PagePipelineConstants.WebForms : setting;
}

return PagePipelineConstants.WebForms;
}

/// <inheritdoc/>
public virtual IList<ModuleInfo> GetTabModules(PortalSettings portalSettings)
{
return portalSettings.ActiveTab.Modules.Cast<ModuleInfo>().Select(m => m).ToList();
Expand Down Expand Up @@ -280,7 +292,7 @@ public virtual void LoadPortalSettings(PortalSettings portalSettings)
portalSettings.DataConsentDelayMeasurement = setting;
setting = settings.GetValueOrDefault("AllowedExtensionsWhitelist", this.hostSettingsService.GetString("DefaultEndUserExtensionWhitelist"));
portalSettings.AllowedExtensionsWhitelist = new FileExtensionWhitelist(setting);

portalSettings.PagePipeline = settings.GetValueOrDefault("PagePipeline", "webforms");
Comment thread
donker marked this conversation as resolved.
Outdated
setting = settings.GetValueOrDefault("CspHeaderMode", "OFF");
switch (setting.ToUpperInvariant())
{
Expand Down
25 changes: 25 additions & 0 deletions DNN Platform/Library/Entities/Tabs/TabInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,27 @@ public string SkinDoctype
[JsonIgnore]
public bool UseBaseFriendlyUrls { get; set; }

/// <summary>Gets a value indicating the pipeline type.</summary>
[XmlIgnore]
[JsonIgnore]
public string PagePipeline
{
get
{
string pagePipeline;
if (this.TabSettings.ContainsKey("PagePipeline") && !string.IsNullOrEmpty(this.TabSettings["PagePipeline"].ToString()))
Comment thread
donker marked this conversation as resolved.
Outdated
{
pagePipeline = this.TabSettings["PagePipeline"].ToString();
}
else
{
pagePipeline = string.Empty;
}

return pagePipeline;
}
}

/// <inheritdoc />
[SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", Justification = "Breaking change")]
public string GetProperty(string propertyName, string format, CultureInfo formatProvider, UserInfo accessingUser, Scope currentScope, ref bool propertyNotFound)
Expand Down Expand Up @@ -855,6 +876,10 @@ public string GetProperty(string propertyName, string format, CultureInfo format
propertyNotFound = false;
result = PropertyAccess.FormatString(this.SiteMapPriority.ToString(formatProvider), format);
break;
case "pagepipeline":
propertyNotFound = false;
result = PropertyAccess.FormatString(this.PagePipeline, format);
break;
}

if (!isPublic && currentScope != Scope.Debug)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private static void ProcessControls(XPathNavigator controlNav, string moduleFold

controlSrc = controlSrc.Replace('\\', '/');
moduleControl.ControlSrc = controlSrc;

moduleControl.MvcControlClass = Util.ReadElement(controlNav, "mvcControlClass");
moduleControl.IconFile = Util.ReadElement(controlNav, "iconfile");

string controlType = Util.ReadElement(controlNav, "type");
Expand Down
13 changes: 8 additions & 5 deletions DNN Platform/Library/Services/Upgrade/Upgrade.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,14 @@ public static TabInfo AddHostPage(string tabName, string description, string tab
/// <param name="controlKey">The key for this control in the Definition.</param>
/// <param name="controlTitle">The title of this control.</param>
/// <param name="controlSrc">The source of ths control.</param>
/// <param name="mvcControlClass">The mvc control class of ths control.</param>
Comment thread
donker marked this conversation as resolved.
Outdated
/// <param name="iconFile">The icon file.</param>
/// <param name="controlType">The type of control.</param>
/// <param name="viewOrder">The vieworder for this module.</param>
public static void AddModuleControl(int moduleDefId, string controlKey, string controlTitle, string controlSrc, string iconFile, SecurityAccessLevel controlType, int viewOrder)
public static void AddModuleControl(int moduleDefId, string controlKey, string controlTitle, string controlSrc, string mvcControlClass, string iconFile, SecurityAccessLevel controlType, int viewOrder)
Comment thread
donker marked this conversation as resolved.
{
// Call Overload with HelpUrl = Null.NullString
AddModuleControl(moduleDefId, controlKey, controlTitle, controlSrc, iconFile, controlType, viewOrder, Null.NullString);
AddModuleControl(moduleDefId, controlKey, controlTitle, controlSrc, mvcControlClass, iconFile, controlType, viewOrder, Null.NullString);
}

/// <summary>AddModuleDefinition adds a new Core Module Definition to the system.</summary>
Expand Down Expand Up @@ -2134,16 +2135,17 @@ protected static bool IsLanguageEnabled(int portalid, string code)
/// <param name="controlKey">The key for this control in the Definition.</param>
/// <param name="controlTitle">The title of this control.</param>
/// <param name="controlSrc">Te source of ths control.</param>
/// <param name="mvcControlClass">The mvc control class.</param>
/// <param name="iconFile">The icon file.</param>
/// <param name="controlType">The type of control.</param>
/// <param name="viewOrder">The vieworder for this module.</param>
/// <param name="helpURL">The Help Url.</param>
private static void AddModuleControl(int moduleDefId, string controlKey, string controlTitle, string controlSrc, string iconFile, SecurityAccessLevel controlType, int viewOrder, string helpURL)
private static void AddModuleControl(int moduleDefId, string controlKey, string controlTitle, string controlSrc, string mvcControlClass, string iconFile, SecurityAccessLevel controlType, int viewOrder, string helpURL)
{
AddModuleControl(moduleDefId, controlKey, controlTitle, controlSrc, iconFile, controlType, viewOrder, helpURL, false);
AddModuleControl(moduleDefId, controlKey, controlTitle, controlSrc, mvcControlClass, iconFile, controlType, viewOrder, helpURL, false);
}

private static void AddModuleControl(int moduleDefId, string controlKey, string controlTitle, string controlSrc, string iconFile, SecurityAccessLevel controlType, int viewOrder, string helpURL, bool supportsPartialRendering)
private static void AddModuleControl(int moduleDefId, string controlKey, string controlTitle, string controlSrc, string mvcControlClass, string iconFile, SecurityAccessLevel controlType, int viewOrder, string helpURL, bool supportsPartialRendering)
{
DnnInstallLogger.InstallLogInfo(Localization.GetString("LogStart", Localization.GlobalResourceFile) + "AddModuleControl:" + moduleDefId);

Expand All @@ -2161,6 +2163,7 @@ private static void AddModuleControl(int moduleDefId, string controlKey, string
ControlKey = controlKey,
ControlTitle = controlTitle,
ControlSrc = controlSrc,
MvcControlClass = mvcControlClass,
ControlType = controlType,
ViewOrder = viewOrder,
IconFile = iconFile,
Expand Down
Loading