Render Partial from Different Folder (not shared)

I found this article at stackoverflow that talks about how to render a partial that is in another folder in the application but not in the shared folders. For example I might have a Dog controller and i can put a DogStatsPartial.ascx partial in the same folder as the Index view of the DogController and call it using RenderPartial.

I wasn’t aware of this being rather new to MVC, so this was a nice find!

http://stackoverflow.com/questions/208421/render-partial-from-different-folder-not-shared

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: