Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
In a regular module you can dynamically load a new control having all the Module context like so:
PortalModuleBase objPortalModuleBase = (PortalModuleBase)LoadControl(_controlToLoad);
if (objPortalModuleBase == null) return;
objPortalModuleBase.ModuleConfiguration = ModuleConfiguration;
objPortalModuleBase.ID = System.IO.Path.GetFileNameWithoutExtension(_controlToLoad);
phAdmin.Controls.Add(objPortalModuleBase);
Is there a way to accomplish the same principal using WebFormsMVP? I'm trying to create an admin control that will be used in various views of my module and don't want to repeat code - but keep the WebFormsMVP approach