Question : ASP.Net Ajax Calendar Control does not work- the calendar image is not live??

Ajax Calendar Control does not work- the calendar image is not live??


The Image Button is not active?
the code is in the code block...

 
 
Image Button is not active
328446
 
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
<%@ Page Language="VB" MasterPageFile="~/Nested Master Pages/user.master" Title="Untitled Page"  %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Import Namespace="System.Web.Security" %>
<%@ Import Namespace="System.IO" %>

<script runat="server">
--------------
--------------
</scrip>

<%-- Add content controls here --%>

<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder4">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<div>
    Begin Date&nbsp;&nbsp;<asp:TextBox ID="BeginDate" runat="server" Width="70"></asp:TextBox>
    <asp:Image id="Image1" runat="server"  ImageUrl="~/images1/calendar_scheduleHS.png" />
    <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="BeginDate"  PopupButtonID="Image1">
    </asp:CalendarExtender>
    End Date&nbsp;&nbsp;<asp:TextBox ID="EndDate" runat="server" Width="70"></asp:TextBox>
     <asp:Image id="Image2" runat="server"  ImageUrl="~/images1/calendar_scheduleHS.png" />
    <asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="EndDate" PopupButtonID="Image2">
    </asp:CalendarExtender>
      <asp:GridView ID="GridView2" AllowSorting="true" AllowPaging="true" Runat="server" Width="860"
        DataSourceID="SqlDataSource1"  ShowFooter="true" DataKeyNames="Id"   Font-Size="XX-Small" AutoGenerateColumns="False" FooterStyle-HorizontalAlign="Right">
         <Columns>
--------------
--------------
         </Columns>

</asp:Content>

Answer : ASP.Net Ajax Calendar Control does not work- the calendar image is not live??

Refer to this online example
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Calendar/Calendar.aspx

Hope this will help you
Random Solutions  
 
programming4us programming4us