hi Guys
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 template.
Is this possible?
hi Guys
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 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.
I can get the template to render but the content place holders render as plain html as they are not added to the page. Any ideas how I can get over this hurdle?