I ve gone through sample asp.net mvc nerd dinner application… But still cant understand the point where and when should i go for partial views?
- Is it similar to usercontrols in webformw?
Note:
It would be helpful to see a partial view in action… Any sample…
Anything you would use more than once. For instance on this page for SO, you see the listing of related posts over to the right. That is on multiple page, so why create it multiple times. You can pass data to the partial view to customize it based on certain criteria.
I do not like it for certain things like login, where I would rather take the user to a login page. However that scenario is used often.