c# - Changing the Default View Engine's view search behavior -


i'm working asp.net mvc 2. have bunch of partial views render based on different conditions within same controller. i'd not put physical partial view files in controller's other views.

i know when want viewresult using view() or partialview() methods default view engine search through folder in views directory associated controller (i.e. if controller called register in register folder under views) , in shared folder.

is there way change behavior, or perhaps tell view -- heck, give specific file render? possible? perhaps sub-folder under shared folder work...

can specify custom location "search views" in asp.net mvc?


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -