This may be a silly question and is more of a question about how to do something rather than an actual coding issue.
I want to have a partial view which contains a searc
Try using a partial action instead of partial view.
http://pratapreddypilaka.blogspot.co.uk/2011/11/htmlpartial-vs-htmlaction-mvc-razor.html?m=1