title: Calendar hides when I change between months
body: <p>I have the following ASP.NET code:</p>
  
  <pre><code>&lt;asp:Button ID="btnCal" runat="server" Text="V" 
      OnClientClick="javascript:document.getElementById('Cal').style.display='';return false;" /&gt;
  
  &lt;asp:Calendar ID="Cal" runat="server" style="display:none" 
      OnSelectionChanged="Cal_SelectionChangedInicio"&gt;&lt;/asp:Calendar&gt;
  </code></pre>
  
  <p>When <code>btnCal</code> is pressed, the calendar is shown, and when a date is selected, it shows the date on a label, as seen below in the C# side:</p>
  
  <pre><code>protected void Cal_SelectionChangedInicio(object sender, EventArgs e)
  {
      txtCalI.Text = Cal.SelectedDate.ToShortDateString();
  
      Cal.Style.Add("display", "none");
  }
  </code></pre>
  
  <p>However, when I use the month change button in the calendar, the calendar hides itself and I have to click on the <code>btnCal</code> button to show it again.</p>
  
  <p>Why is the calendar hiding when I use the select month button? What am I doing wrong here?</p>