May 02, 2012 02:46 PM|YochevedB|LINK
I start develop in MVC and need to get an idea how better implement my requirement.
I need build somthing like UserControl that get the user the posibilitry to search data. This "UserControl" need contains some combox controls for choose Country,City and Zip Code and when the user click the Serach button it should go to DB and return some
data. This "UserControl" should be in some pages and need get parameter from the containing page and after the search it need return the result to the containing page.
What is the best way to implement this requirement? To build a partialView? To build EditorTemplate? or what?
We try build partialView, but how we send and get the data to and from the partial view?
Do someone can explain me in simple words what is the best implementation way?