Is it possible to determine if a specific view name exists from within a controller before rendering the view?
I have a requirement to dynamically determine the name
Here's another [not necessarily recommended] way of doing it
try { @Html.Partial("Category/SearchPanel/" + Model.CategoryKey) } catch (InvalidOperationException) { }