Hi,
First you must add reference with
AjaxControlToolkit.dll
then in you Client Page you should register it with TagPreFix.
Example:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="ReimbursementIP.aspx.cs" Inherits="ReimbursementIP" Title="Reimbursement"
EnableTheming="true"%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
then in your code behind:
Example code:
<asp:TextBox ID="txtAdmissionDate" runat="server"></asp:TextBox>
<cc1:CalendarExtender PopupButtonID="imgDatepicker" ID="CalendarExtender1" TargetControlID="txtAdmissionDate" runat="server">
</cc1:CalendarExtender>
<asp:ImageButton runat="Server" ID="imgDatepicker" ImageUrl="~/Images/Calendar.png"/>
Hope this could help...
Regards,