Is there a way to change the layout file on the fly through code? I have a custom module that has a List and a Details view. For each I would like to use a different Layout file which I need to assign dynamically. I don't necessarily have to do it from my custom module, anywhere in Global.asax or Default.apsx is fine as well.
Can this be done?
Imar