This project is read-only.

Switching the layout, IFilterResult doesn't execute OnResultExecuting method

Topics: Customizing Orchard, Troubleshooting, Writing themes
Feb 17, 2014 at 4:57 AM
I try to create multiple Layout supporting by switching shapes in FilterProvider object:

I created Theme project, implemented new FilterProvider class from example. But Layouts still doesn't change. I tried to debug execution and attach to process:
Code execution go on FilterProvider Constructor, but not in OnResultExecuting on OnResultExecuted methods. It seems like Filter creates, but not executes.

What is the problem?