title: Add ajax calendar extender to my web form
body: <p>I am trying to add Ajax Calender extender control to my webform. I added downloaded the latest version ajax and copy it to my application bin folder.When i run my application the date control is not dispay. Am using VS2012 EXPRESS.Does any one know what am doing<br>
   wrong?  I have look at several sample but is still not working for me.  </p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Add-treatment.aspx.cs"       Inherits="Practice_project.Account.Add_treatment" %&gt;
  
  &lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"   TagPrefix="asp" %&gt;    
  
  
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form id="form1" runat="server"&gt;
      &lt;header&gt;
          &lt;img src="../Images/Gambia_Coat_of_Arms.jpg" /&gt;
      &lt;/header&gt;
      &lt;div&gt;
          &lt;fieldset&gt;
              &lt;legend&gt;Add treatment for the Patient
              &lt;/legend&gt;
              &lt;ol&gt;
                  &lt;li&gt;
                      &lt;asp:Label ID="lbl_treatment" runat="server"&gt;Treatment&lt;/asp:Label&gt;
                      &lt;asp:TextBox ID="treatment_id" runat="server"&gt;&lt;/asp:TextBox&gt;
                      &lt;%--&lt;asp:CompareValidator runat ="server"&gt;&lt;/asp:CompareValidator&gt;--%&gt;
                  &lt;/li&gt;
  
                  &lt;li&gt;
                      &lt;asp:Label ID="No1" runat="server"&gt;Nº Days on F75&lt;/asp:Label&gt;
                      &lt;asp:TextBox ID="f75" runat="server"&gt;&lt;/asp:TextBox&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;asp:Label runat="server" ID="No2"&gt;Nº Days on F100&lt;/asp:Label&gt;
                      &lt;asp:TextBox ID="f100" runat="server"&gt;&lt;/asp:TextBox&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;asp:Label ID="No3" runat="server"&gt;Nº Days on RUTF&lt;/asp:Label&gt;
                      &lt;asp:TextBox ID="rutf" runat="server"&gt;&lt;/asp:TextBox&gt;
  
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;asp:Label ID="No4" runat="server"&gt;Type RUTF&lt;/asp:Label&gt;
                      &lt;asp:TextBox ID="ruft_type" runat="server"&gt;&lt;/asp:TextBox&gt;
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;asp:Label ID="No5" runat="server"&gt;Nº Days on Weaning Foods&lt;/asp:Label&gt;
                      &lt;asp:TextBox ID="wfood" runat="server"&gt;&lt;/asp:TextBox&gt;
  
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;asp:Label ID="discharge" runat="server"&gt;Date of Discharge&lt;/asp:Label&gt;
                      &lt;asp:TextBox ID="discharge_date" runat="server"&gt;&lt;/asp:TextBox&gt;
                      &lt;asp:Image ID="Image1" runat="server" /&gt;
                      &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt;&lt;/asp:ScriptManager&gt;
  
  
  
                      &lt;asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="discharge_date" PopupButtonID="Image1" &gt;&lt;/asp:CalendarExtender&gt;
                  &lt;/li&gt;
  
  
              &lt;/ol&gt;
  
  
          &lt;/fieldset&gt;
  
      &lt;/div&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>