Adding a .NET Control using DNN

The DNN Web Control Container is a DotNetNuke module that was developed for the purpose of rendering the new, standalone .NET web controls for your e-Business site. The container acts as a wrapper which enables you to choose and configure a specific Personify web control at runtime.

 

DNN sites are created by first adding a page to your website, next, dropping the DNN container, and finally, dropping the .NET Web control on to that page. Web controls are the individual pieces that are rendered by the DNN Web Control Container.

One DNN Web Control Container must be added per .NET web control. If you want multiple controls on a page, you will have to drop a DNN container for each control. For more information, please see Adding a DNN Web Control Container Module and Adding a .NET Web Control to a Page.

For a video demonstration, please see Video Demo: Creating a New Page and Adding a .NET Web Control

Every control extends PersonifyBaseUserControl. This gives all controls access to the following features:

·            Optional performance info (ShowPerformanceInfo=true),

·            Script helper methods for registering client-side events,

·            Access to the current user via the CurrentUser property,

·            Access to the Manager Controller via the Manager property.

The Manager Controller is the control that handles communication between controls and this includes both client and server side.

With the upgrade to DNN 9.0.1 in 7.6.2, the new PERSONABAR control panel was introduced. It is recommended that you do NOT use this control panel, as you will lose navigation functionality through your site as an admin. Please continue to use the CONTROLBAR control panel.

See Also:

·            Using DNN as Your CMS Platform