title: How to disable a div code behind in C#?
body: <p>I have a div which I call from code behind via <code>Page.ClientScript.RegisterStartupScript</code>
  Another div is inside this div with <code>style="display: none;</code> Is it possible to enable the second div when I call the main div in code behind?</p>
  
  <p>This is my code- 
  <code>Page.ClientScript.RegisterStartupScript(this.GetType(), "OpenNewWindow", "&lt;script type='text/javascript'&gt;$(function() { $('#MainDiv').dialog('open'); })&lt;/script&gt;");</code></p>