asp.net mvc 2 multiple partial view
- by 303
Hey Guys,
I have a contoller that renders 3 different views. But I also have a common part (div) for every view. I thought that I can create an UserControl with own controller and include that control on my views (New controller and view as controll).
How should I use that UserControl? Should it be a partial view?
Or different approach - can I have multiple partial views on one page?
I've been searching the web for the last view days and haven't found working solution that suits me. Also I want to use Strongly Typed views/data.
Cheers