Ajax Clientside Framework Failed to load

i just take ajax calender extender controls in my page.when i run the page, the ajax control gives an error "Microsoft Jscript runtime error; ajax client-side framework failed to load"  When we debug the page, it comes like  "sys is undefined".
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="FinancialAudit.aspx.vb" Inherits="ERPA.FinancialAudit" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register assembly="System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI" tagprefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" >
<head id="Head1" runat="server">
    <title>Financial Audit</title>
   <style type="text/css">
<body >
   <form id="form1" runat="server" >
   <asp:ScriptManager runat ="server" ID="scriptmanager1" />
        <table id="tblcard" > 
     <tr align="left" >
                <td width="150px" >
                      <b>DATE RANGE*</b></td>
                <td class="style2">
                    <asp:TextBox ID="FromDate" runat="server"></asp:TextBox>  
                    <asp:ImageButton ID="Image1" runat="server" ImageUrl ="~/images/calendar.png" /> 
                   <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID ="FromDate" PopupButtonID ="Image1" >
                <asp:Label ID="Label1" Text ="BETWEEN " runat="server"/> 
                 <td class="style1">
                    <asp:TextBox ID="ToDate" runat="server"></asp:TextBox>  
                    <asp:ImageButton ID="Image2" runat="server" ImageUrl ="~/images/calendar.png" /> 
                   <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID ="ToDate" PopupButtonID ="Image2">

Open in new window

Who is Participating?
kadi009Connect With a Mentor Author Commented:
Sorted this issue.. had to add some references for the AJAX into the web.config..
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.