Difference between renderpage and renderbody ?
Answers (2)
Add AnswerRenderBody:
RenderBody is used to render the child view’s content. It produces a piece of a content page in layout pages.
RenderPage:
RenderPage is used to call one page from within another. For example, suppose you have promotional text and photographs that you want to utilise on your website, but the requirement is that the promos must vary often.