Why does the following code renders my child action:
<div class='h-l'>
@if (ViewBag.Hide)
{
@Html.Action(MVC.City.GetCitiesList().AddRouteValue("makeBig", false));
}
</div>
but if I delete @ before @Html.Action, nothing is rendered?
From MSDN
ChildActionExtensions.Action Method.
Invokes a child action method and returns the result as an HTML string.
You should use @ to determine a string as a method. Take a look at ASP.Net @ Symbol