1.

Can You Explain Renderbody And Renderpage In Mvc?

Answer»

RENDERBODY is like ContentPlaceHolder in web forms. This will exist in LAYOUT page and it will render the CHILD pages/views. Layout page will have only one RenderBody() method. RENDERPAGE also exists in Layout page and multiple RenderPage() can be there in Layout page.

RenderBody is like ContentPlaceHolder in web forms. This will exist in layout page and it will render the child pages/views. Layout page will have only one RenderBody() method. RenderPage also exists in Layout page and multiple RenderPage() can be there in Layout page.



Discussion

No Comment Found