Solved

Asp.net Ajax Clientside Framework Failed to load

Posted on 2008-09-30
1
3,337 Views
Last Modified: 2013-11-26
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; asp.net 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=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI" tagprefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Financial Audit</title>
   <style type="text/css">
    </style>
</head>
<body >
 
   <form id="form1" runat="server" >
    <div>
   <asp:ScriptManager runat ="server" ID="scriptmanager1" />
 
    </div>
    
        <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" >
                    </cc1:CalendarExtender>
              
                <asp:Label ID="Label1" Text ="BETWEEN " runat="server"/> 
                   </td>
                 <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">
                     </cc1:CalendarExtender>
                    
                </td> 
             </tr>
   
      </table>
 
    </form>
 
</body>
</html>

Open in new window

0
Comment
Question by:kadi009
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
kadi009 earned 0 total points
ID: 22625293
Sorted this issue.. had to add some references for the AJAX into the web.config..
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question