none
Benefit of using RenderAction over render partial. RRS feed

All replies

  • RenderPartial will render the view on the same controller. But RenderAction will execute the action method , then builds a model and returns a view result. Render Partial
    Tuesday, July 9, 2019 10:12 AM
  • Hi BiswaNayak,

    Thank you for posting here.

    For your question, you want to know the benefit of RenderAction instead of Rener partial.

    The following link describes the difference between them, you could have a look.

    https://www.dotnettricks.com/learn/mvc/renderpartial-vs-renderaction-vs-partial-vs-action-in-mvc-razor

    Note:This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 10, 2019 1:50 AM
    Moderator