开发者

ASP.NET MVC Master Page

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜