close window  

   

Fig 1. shows the final result of a regular ASP.NET user control that has been integrated as a DNN module using Open-SmartModule.

Fig 2. in order to install the module shown in Fig 1., we started with the installation wizard as follows:

Fig 3. selecting option 1, we uploaded the control files

fig 4. after uploading the control files in .zip format, we clicked next and got to step 2, where we are prompted to select a .dll to copy to the /bin folder of the DNN installation. When in .dll selection mode, a "check" icon will appear next to all .dll files. Clicking on the check, will automatically copy the .dll.

Fig 5. The next step will be to select the .ascx control that we want to display in Open-SmartModule. When in .ascx selection mode, a "check" icon will appear next to all .ascx files. Clicking on the check, will automatically select the control.

Fig 6. Once your .ascx control has been selected, the next step is optional, but it will allow you to set any public properties that your control may need in order to function properly. Using reflection, we get a list of all properties and members.

Fig 7. The final and optional step will be to execute any sql scripts needed by your control. All scripts you select, will be executed directly against the current DNN database. When in sql script execution mode, a "check" icon will appear next to all .sql files. Clicking on the check, will automatically execute the script. If the script file does not have a .sql extension, you can still execute it by selecting the checkbox next to it, and then clicking on the check icon on the toolbar.

Once you are done, just go back to view mode, and your control will show up in DNN. Being a full fledged DNN module, you the will be able to assign it view and edit roles just like any other module. If you want to revise your selections, you can do so at any time by going to the appropriate step directly.