开发者

Masterpage with a dynamic template

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜