Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

ViewComponents should render partial views #960

Closed
pranavkm opened this issue Aug 9, 2014 · 0 comments
Closed

ViewComponents should render partial views #960

pranavkm opened this issue Aug 9, 2014 · 0 comments
Assignees
Milestone

Comments

@pranavkm
Copy link
Contributor

pranavkm commented Aug 9, 2014

A ViewResult returned from a ViewComponentHelper renders a full view. This causes it to run _ViewStarts \ _Layouts etc which was not the intended design goal for ViewComponents. Instead, we should have it return a partial view. This way, they would have the same semantics as Html.Partial.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant