You ate designing an ASP NET MVC 2 Web application
The view content will be composed of user controls
You have the following requirements:
– Deliver content that is provided by user controls to the browser
– Select the appropriate user controls to render within the controller.
You need to ensure that your design meets the requirements.
Which approach should you recommend?
A.
Use the Html.RenderPartial extension method
B.
Use the Html.RenderAction extension method
C.
Use the PartialViewResult class
D.
Use the ContentResult class