How to show your hidden partial view programmatically in MVC
<p>I have  a partial view _ABC.cshtml that is hidden initially.</p>

<pre><code>&lt;div id="overview" style="display:none"&gt;

    &lt;h1&gt; Overview&lt;/h1&gt;
    &lt;div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 leftlist"&gt;

    &lt;/div&gt;
    &lt;div class="col-xs-9 col-sm-9 col-md-9 col-lg-9 overview"&gt;
        &lt;h3 class="isppagetitle"&gt;@Resources.Overview&lt;/h3&gt;
        &lt;div class="row col-xs-12 col-sm-12 col-md-12 col-lg-12 content"&gt;
            &lt;div class="row"&gt;
               ......
</code></pre>

<p>But now from other view I want it to be rendered .</p>

<pre><code>    public ActionResult Index()
    {
        return PartialView("_AMgmtPartial");
    }
</code></pre>

<p>I did in _AMgmtPartial..</p>

<pre><code>&lt;div class="account-root"&gt;

    @{
        Html.RenderPartial("_CustList");
        Html.RenderPartial("_ABC", new { style = "display:block" });
    }


    &lt;input type="hidden" id="accountmgmturl" value='@Url.Action("", "AccountMgmt")' /&gt;

   ...............
   ...............
</code></pre>

<p>But this <code>style="display:block;"</code> did not work. What did I do wrong ?</p>