开发者

ASP.NET MVC Master Page

开发者 https://www.devze.com 2022-12-10 00:29 出处:网络
How can one do this? I would like to save the master pages template in the database and then based on a query string pull the correct 开发者_StackOverflow中文版template.

How can one do this?

I would like to save the master pages template in the database and then based on a query string pull the correct 开发者_StackOverflow中文版template.

Is this possible?


This article by Phil Haack may be of some help to you:

Scripting ASP.NET MVC Views Stored In The Database

http://haacked.com/archive/2009/04/22/scripted-db-views.aspx

It's not directly related to Master Pages however the concepts Phil talks about and uses in his article could be just what you're looking for.

0

精彩评论

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