views:

52

answers:

0

Hi,

I would like to know if there is a way to programatically remove a master page of a nested master page.

Lets say i have the following: Master A << Master B << View

I am using the master pages actually like a wrapper for my View; they are containing javascript code. In some cases I don't need the Master Page A and I would like to remove it from Master B. But in this case I have a prob, because the masterpage B can't contain a Content-Element (that was needed to inject the content from the view to Master A).

Master B:

Any ideas how I could solve this?

Damrod