Last post Jan 16, 2008 11:49 PM by pure.krome
Jan 16, 2008 01:20 PM|pure.krome|LINK
I'm assuming that we can still make reusable controls that can be dropped into more than one view. Lets say .. for example, we are using the Northwind DB and we have a simple control (ie. ascx file) that lists products from the Products table. We can
then drop this ascx control onto any View we have, I assume.
So .. is this possible?
Secondly, if i create a simple standard default MVC project using my VS2008 -> File -> New Project -> New MVC Web Application .... where should i put these controls? Should I make a folder called Controls, under the default folder Content? eg.
/MVC Web Application
|___ Controls <-- my new folder.
??? just not sure of the common practice and what other people are doing.
Jan 16, 2008 02:20 PM|rjcox|LINK
Search path is Views/Controller then Views/Shared for both pages and controls.
Jan 16, 2008 11:49 PM|pure.krome|LINK
Thanks heaps mate :)