I'm attempting to create themeing system for my asp.net mvc application.
I was able to create a custom view engine and a custom controller class to change the way views are output.
My issue is masterpages. Is there a way to do this following: This is the @Page directive of the view
<%@ Page Title="" Language="C#"
MasterPageFile="<%= ViewData["myThemeFolder"] + "/Views/Shared/Site.Master" %>"
Inherits="System.Web.Mvc.ViewPage" %>
I tried to do that, but it doesn't work. I would like to accomplish that, but don't know how.