My app has the following structure for views...
form related views
- views/form/datecontrol.cshtml
- views/form/textcontrol.cshtml
- views/form/checkboxcontrol.cshtml
...etc and
search related views
- views/search/searchgrid.cshtml
now,in searchgrid.cshtml, I want to make a partial call to the controls under form. I tried all of the following but it still throws up an error.
@Html.Partial("~/form/textcontrol",
@Html.Partial("/form/textcontrol",
@Html.Partial("views/form/textcontrol",
How do i go about with this ?