Hey guys! How are you all? I'm having issues with the RenderBody method, that gives me the error "The file "~/Views/webbaseTemplate.cshtml" cannot be requested directly because it calls the "RenderBody" method." my pages are as follows:
The template i'm using on the page
The master template
And the template tab on the Document type
I have searched and tried everything but cant seem to fix it...
Page doesn't load because of RenderBody
Hey guys! How are you all? I'm having issues with the RenderBody method, that gives me the error "The file "~/Views/webbaseTemplate.cshtml" cannot be requested directly because it calls the "RenderBody" method." my pages are as follows:
The template i'm using on the page
The master template
And the template tab on the Document type
I have searched and tried everything but cant seem to fix it...
Thanks, and best regards
PS: Fixed it!
Hi jpdel3000
Is it that your webbaseTemplate.cshtml template is 'using itself' as the Layout instead of your master layout view?
regards
Marc
Hi Mark!
My webbase template is my master template.
I dont know how or why, I just deleted everything listed above and created it again and it worked :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.