Difference between renderpage and renderbody ?

Forums C#Difference between renderpage and renderbody ?
Staff asked 2 months ago

Answers (2)

Add Answer
Umang Ramani Marked As Accepted
Staff answered 2 months ago

RenderBody:
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.

Staff answered 2 months ago

.

?

Nayan Raval replied 2 months ago

Subscribe

Select Categories