Click here to Skip to main content
15,743,299 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If i use datetimepicker i should add AJAX extenders, but i didn't know how to add it
Please help me

Refer this article:

DateTimePicker Web Control[^]

hope it helps :)
Share this answer
go to website of ajax extenders download latest ajax extenders.
add dll file into your project u will be able to use ajax extenders
Share this answer
first u have to add ajaxcontroltoolkite.dll in your project-->bin Folder.,
after then add new tab in your project toolbox-->give some name-->right click on it and choose Items.. --> after open window choose toolbox items-->click Browse Button and select your project "ajaxcontroltoolkite.dll" (Which you coped in your project's bin folder..)and click OK button...

now your new added tab can show all ajax controlss..

i think it help.
thank you.
Share this answer

First you must add reference with AjaxControlToolkit.dll

then in you Client Page you should register it with TagPreFix.
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ReimbursementIP.aspx.cs" Inherits="ReimbursementIP" Title="Reimbursement"
    <%@ 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">
<asp:ImageButton runat="Server" ID="imgDatepicker" ImageUrl="~/Images/Calendar.png"/> 

Hope this could help...

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900