What do I need to do to show the calendar when button is clicked?
<p>I am trying to do a calendar which pops out when a button (...)is clicked, but I am stuck and don't know what I have to do. Below is the code I am using. I am using visual studio 2010 and C# as my programming langauge.</p>

<pre><code>&lt;asp:textbox id="TextBox1" runat="server"&gt;&lt;/asp:textbox&gt;
&lt;input type="button" id="Button2" runat="server" value="...."&gt;&lt;br&gt;
&lt;asp:Panel id="pnlCalendar" runat="server" 
     style="POSITION: absolute"&gt;
 &lt;asp:calendar id="Calendar3" runat="server" CellPadding="4" 
      BorderColor="#999999" Font-Names="Verdana" Font-Size="8pt" 
      Height="180px" ForeColor="Black" DayNameFormat="FirstLetter" 
      Width="200px" BackColor="White"&gt;
  &lt;TodayDayStyle ForeColor="Black" BackColor="#CCCCCC"&gt;&lt;/TodayDayStyle&gt;
  &lt;SelectorStyle BackColor="#CCCCCC"&gt;&lt;/SelectorStyle&gt;
  &lt;NextPrevStyle VerticalAlign="Bottom"&gt;&lt;/NextPrevStyle&gt;
  &lt;DayHeaderStyle Font-Size="7pt" Font-Bold="True" BackColor="#CCCCCC"&gt;
  &lt;/DayHeaderStyle&gt;
  &lt;SelectedDayStyle Font-Bold="True" ForeColor="White" BackColor="#666666"&gt;
  &lt;/SelectedDayStyle&gt;
  &lt;TitleStyle Font-Bold="True" BorderColor="Black" BackColor="#999999"&gt;
  &lt;/TitleStyle&gt;
  &lt;WeekendDayStyle BackColor="LightSteelBlue"&gt;&lt;/WeekendDayStyle&gt;
  &lt;OtherMonthDayStyle ForeColor="#808080"&gt;&lt;/OtherMonthDayStyle&gt;
 &lt;/asp:calendar&gt;
&lt;/asp:Panel&gt;
</code></pre>

<p><img src="http://i.stack.imgur.com/L20tT.jpg" alt="This is generated with my code"></p>
