title: Change Visibility of Divs from Code Behind (ASPX)
body: <p>I have a table in html, and inside that table there are multiple rows 'tr',
  inside each row there are multiple columns 'td'. </p>
  
  <p>What I need it to change between two td's to show inside a particular row.</p>
  
  <p>I have both of them specified in an aspx file, like the example below.</p>
  
  <pre><code>&lt;div id="DirCaDiv1" runat="server" visible="false"&gt; 
      &lt;td class="heading4" align="left" style="width: 21%" id="DirAreaDiv_Text" runat="server" &gt;
          &amp;nbsp;Dir.Área:&amp;nbsp;&lt;/td&gt;
  &lt;/div&gt;
  
  
  &lt;div id="DirBaDiv1" runat="server" visible="false"&gt;
      &lt;td class="heading4" align="left" style="width: 21%" id="DirCoordDiv_Text" runat="server" &gt;
          &amp;nbsp;Dir.Coord.:&amp;nbsp;&lt;/td&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And in my aspx file I have a combo box event (combobox_changed) that change the visibility of each div.
  It puts one DirCaDiv1.visible="false" and another one DirBaDiv1.Visible="true"</p>
  
  <p>But I don't know why, it doesn't work, I change the item that is selected on the other combobox that is using the event,
  and nothing happens...</p>