in my _Layout.cshtml file I have
@Html.Partial("_SearchPartial")
In this partial file I have
@using (Html.BeginForm())
{
@Html.TextBox("Search")
<input type="submit" value="Search" />
}
Question is, how do I make this form post to a particular action method in a particular controller?
Thanks,
Sachin