making div/htmlgeneric control visible using asp.net
<p>I have a user control with a div like this:</p>

<pre><code> &lt;div runat="server" id="pnlShippingMethods" class="checkoutstep"&gt;
                            &lt;div class="steptitle"&gt;
                                &lt;%=GetLocaleResourceString("CheckoutOnePage.ShippingMethods.Title")%&gt;
                                &lt;div style="float: right;"&gt;                                  
                                &lt;/div&gt;
                                Date from checkout page one for ship method update panel is &lt;%= DateTime.Now.ToString() %&gt;
                            &lt;/div&gt;
                            &lt;asp:Panel runat="server" ID="pnlShippingMethodsContent" class="stepcontent"&gt;
                                &lt;nopCommerce:CheckoutShippingMethod ID="ctrlCheckoutShippingMethod" runat="server"
                                    OnePageCheckout="true" /&gt;
                            &lt;/asp:Panel&gt;
                        &lt;/div&gt;
</code></pre>

<p>I am making in visible = false on page load where this control is placed. Then from another control on the same page I am trying to make it visible like this:</p>

<pre><code>HtmlGenericControl pnlShippingMethods = this.Parent.Parent.Parent.Parent.Parent.FindControl("pnlShippingMethods") as HtmlGenericControl;              

        pnlShippingMethods.Visible = true;
</code></pre>

<p>I am able to make visible/invisible user control CheckoutShippingMethod  from other user control but not the div. Please suggest how to make it visible</p>
