ASP.Net C# Master Site -


i have question ****.master site in asp.net c# (webforms). i've created site.masters file lot of differente placeholders inside. question - possible fill placeholders different .aspx files?

.master page:

    <asp:contentplaceholder id="mainheader" runat="server">      </asp:contentplaceholder>      <asp:contentplaceholder id="maincontent" runat="server">      </asp:contentplaceholder>      <asp:contentplaceholder id="mainfooter" runat="server">      </asp:contentplaceholder> </div> 

now this:

  1. adding content main header - content represented in file called mainheader.aspx
  2. adding content main content - content represented in file calle maincontent.apsx

is possible or there solution plan? create modular , flat structure of .net project.

thanks - best regards

you can want using jquery.load(), here documentation http://api.jquery.com/load/, think doing not way procede, in order want suggest yo this:

create user controls, 1 each master contentplaceholder, in master, add each 1 of , initiate them.


Comments