How to have shared contents in web controls?

48 Views Asked by At

I am working on a DotNetNuke module that obviously uses web controls to show different pages.

I would like to have some shared content on all pages(web controls). In fact I am using bootstrap to render my menu items which it has a markup like this :

<div id="pageWrapper" class="active">
    <div id="sidebar-wrapper">
        my menu content
    </div>
    <!-- Page content -->
    <div id="page-content-wrapper">
        <!-- Keep all page content within the page-content inset div! -->
    </div>
</div>

So what I really want is to have a way to have this markup in all of my web controls and to be able to put the control content in the page content section.

If I could use pages I would use a master page to achieve this but the question is how can I do the same with web controls ?

0

There are 0 best solutions below