Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8853493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:40:03+00:00 2026-06-14T13:40:03+00:00

I am trying to add Ajax Calender extender control to my webform. I added

  • 0

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
wrong? I have look at several sample but is still not working for me.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Add-treatment.aspx.cs"       Inherits="Practice_project.Account.Add_treatment" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"   TagPrefix="asp" %>    



<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
    <header>
        <img src="../Images/Gambia_Coat_of_Arms.jpg" />
    </header>
    <div>
        <fieldset>
            <legend>Add treatment for the Patient
            </legend>
            <ol>
                <li>
                    <asp:Label ID="lbl_treatment" runat="server">Treatment</asp:Label>
                    <asp:TextBox ID="treatment_id" runat="server"></asp:TextBox>
                    <%--<asp:CompareValidator runat ="server"></asp:CompareValidator>--%>
                </li>

                <li>
                    <asp:Label ID="No1" runat="server">Nº Days on F75</asp:Label>
                    <asp:TextBox ID="f75" runat="server"></asp:TextBox>
                </li>
                <li>
                    <asp:Label runat="server" ID="No2">Nº Days on F100</asp:Label>
                    <asp:TextBox ID="f100" runat="server"></asp:TextBox>
                </li>
                <li>
                    <asp:Label ID="No3" runat="server">Nº Days on RUTF</asp:Label>
                    <asp:TextBox ID="rutf" runat="server"></asp:TextBox>

                </li>
                <li>
                    <asp:Label ID="No4" runat="server">Type RUTF</asp:Label>
                    <asp:TextBox ID="ruft_type" runat="server"></asp:TextBox>
                </li>
                <li>
                    <asp:Label ID="No5" runat="server">Nº Days on Weaning Foods</asp:Label>
                    <asp:TextBox ID="wfood" runat="server"></asp:TextBox>

                </li>
                <li>
                    <asp:Label ID="discharge" runat="server">Date of Discharge</asp:Label>
                    <asp:TextBox ID="discharge_date" runat="server"></asp:TextBox>
                    <asp:Image ID="Image1" runat="server" />
                    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>



                    <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="discharge_date" PopupButtonID="Image1" ></asp:CalendarExtender>
                </li>


            </ol>


        </fieldset>

    </div>
</form>
</body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T13:40:05+00:00Added an answer on June 14, 2026 at 1:40 pm

    I finally notice my mistake.Here is is the working one:

    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>    
    
    <ajaxToolkit:CalendarExtender runat="server" StartDate="1912-01-01" TargetControlID="discharge_date"  ></ajaxToolkit:CalendarExtender>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to add an ajax form to my application. The problem is
I am trying to add a TextBoxWatermarkExtender control into my ASP.NET 3.5 web application.
Currently trying at add ajax to a site, after much reading I discovered that
I've been trying to add some AJAX/jQuery script to my site so that only
I'm trying to add details to a database by using ajax and table dynamic
Hey there, new to AJAX, JS.. Im trying to add to a Javascript/Ajax search
I am trying to create a simple ajax grid that allows me to add
I am trying to add two jquery plugins files to my application. When a
I am trying to add the ajax response text, to a div that has
so my code works fine by itself, but I'm trying to add some ajax

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.