tags:

views:

13

answers:

1

i want to controller to search for a view in more than two folder (by default controler search in Shared and second folder with its own name ) can we make controller to search in any third folder including above two also.

A: 

Custom View Engine

Write a custom view engine and provide all your paths that you want. Then register it in global.asax codebehind in Application_Start event handler.

Check this question on SO that will give you all the information you need:
http://stackoverflow.com/questions/632964

Robert Koritnik