开发者

Masterpage with a dynamic template

开发者 https://www.devze.com 2023-01-05 19:20 出处:网络
In MVC.NET, how should I dynamically populate the HTML structure from a database into a Masterpage where the first the template needs to wrap the mas开发者_JS百科terpage contents?

In MVC.NET, how should I dynamically populate the HTML structure from a database into a Masterpage where the first the template needs to wrap the mas开发者_JS百科terpage contents?

AKA

   -- master page header stuff goes here --
   ... 
   -- Beginning of client template goes here --
   ...
   -- masterpage contents goes here --
   ... 
   -- End of client template goes here --


You can embed multiple content blocks in the master page:

   -- master page header stuff goes here --
   ... 
   -- content block 1 goes here --
   ...
   -- masterpage contents goes here --
   ... 
   -- content block 2 goes here --
0

精彩评论

暂无评论...
验证码 换一张
取 消