title: How to show the Pop up from when click theASP calender date?
body: <p>I'm using ASP calender. I want to show a popup when a user clicks the date,also I want to show the selected date in the popup. I used <a href="http://www.ericmmartin.com/projects/simplemodal-demos/" rel="nofollow">this link</a>.</p>
  
  <p>This is my asp calender</p>
  
  <pre><code>&lt;div id='basic-modal'&gt;                    
     &lt;asp:Calendar ID="cal" Width="700" OnDayRender="DayRender"  BackColor="white"   runat="server" OnSelectionChanged="cal_SelectionChanged"   &gt;
         &lt;SelectedDayStyle BackColor="#C00000" /&gt;
         &lt;DayStyle CssClass="basic" /&gt;
     &lt;/asp:Calendar&gt;
  </code></pre>
  
  <p>this is my pop up form.</p>
  
  <pre><code>&lt;div id="basic-modal-content"&gt;
  &lt;table&gt;
  &lt;tr&gt;&lt;td&gt;Date:&lt;/td&gt;&lt;td&gt;
      &lt;asp:Label ID="lblSelectDate" runat="server" Text=""&gt;&lt;/asp:Label&gt;&lt;/td&gt;
  
  &lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;Message : &lt;/td&gt;&lt;td&gt;
  &lt;textarea id="txtMessage" cols="20" rows="2" &gt;&lt;/textarea&gt;
  &lt;/td&gt;
  
  &lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;input type="submit" value="Submit"   /&gt;&lt;/td&gt;&lt;/tr&gt;
  
  &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>when I click the date it shows popup , but It doesn't  call the  "cal_SelectionChanged" function.</p>
  
  <pre><code>protected void cal_SelectionChanged(object sender, EventArgs e)
  {
     lblSelectDate.Text = e.ToString();
  }
  </code></pre>
  
  <p>So my problem is how to pass the selected date to popup?</p>