 <p>It looks like you need to add script by calling <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.registerstartupscript.aspx" rel="nofollow">ScriptManager.RegisterStartupScript</a> method to show elements on page:</p> <pre><code>ScriptManager.RegisterStartupScript(this, this.GetType(), this.ID, "$('#back_drop, #login_container').css('display', 'block');", true); </code></pre>