Apr 25, 2012, 9:31 AM
[CLOSED] [Razor] using partial views
Hi there,
I'm having some trouble using partial views via the ContentFromPage or ItemsFromPage methods... Is it even possible to utilise razor style partial views? i.e. those that normally reside in /Shared/_xxxxx.cshtml? Or do you need to make these partial views into proper pages in their own right with MVC routes etc? I get "it does not exist or is not a valid page." errors each time I try to reference a partial view as panel content or something similar...
thanks
I'm having some trouble using partial views via the ContentFromPage or ItemsFromPage methods... Is it even possible to utilise razor style partial views? i.e. those that normally reside in /Shared/_xxxxx.cshtml? Or do you need to make these partial views into proper pages in their own right with MVC routes etc? I get "it does not exist or is not a valid page." errors each time I try to reference a partial view as panel content or something similar...
thanks
Last edited by Daniil; Apr 25, 2012 at 10:37 AM.
Reason: [CLOSED]