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

  • SEARCH
  • Home
  • 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 6670711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:18:03+00:00 2026-05-26T03:18:03+00:00

Below is the code of my Master Page. When I enable ScriptManager and related

  • 0

Below is the code of my Master Page. When I enable ScriptManager and related tags (as shown below), IE generates error: Sys is undefined while debugging. When I disable AJAX, the error is not shown. The page and related code is working properly irrespective of the error shown or not shown.

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.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 runat="server">
    <title></title>

    <!-- Project CSS attachments -->
    <link href="Stylesheets/StyleSheet2.css" rel="stylesheet" type="text/css" />
    <link href="Stylesheets/ReportsMenu.css" type="text/css" rel="Stylesheet" />
    <link href="Stylesheets/StyleSheet.css" rel="stylesheet" type="text/css" />
    <link href="Stylesheets/TubewellReportsMenu.css" rel="stylesheet" type="text/css" />

    <!-- JQuery Core attachment -->
    <link href="Resources/JQueryScripts/Core/jquery-1.6.4.min.js" type="text/javascript" />    
    <link href="Resources/JQueryScripts/Core/jquery.min.js" type="text/javascript" />

    <!-- JQuery MSG Plugin library attachments -->
    <link href="Resources/JQueryScripts/MsgPlugin/jquery.center.min.js" type="text/javascript" />    
    <link href="Resources/JQueryScripts/MsgPlugin/jquery.msg.js" type="text/javascript" /> 
    <link href="Resources/JQueryScripts/MsgPlugin/jquery.msg.min.js" type="text/javascript" />
    <link href="Resources/JQueryScripts/MsgPlugin/jquery.msg.css" rel="Stylesheet" type="text/css" />                   

    <!-- JQuery Message Box Library attachments -->
    <link href="Resources/JQueryScripts/MsgBox/jquery.dragndrop.min.js" type="text/javascript" />            
    <link href="Resources/JQueryScripts/MsgBox/jquery.msgbox.js" type="text/javascript" />            
    <link href="Resources/JQueryScripts/MsgBox/jquery.msgbox.css" type="text/javascript" />            
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div runat="server">
            <div class="TopBand" runat="server">
                <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/Default.aspx" >Home</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="lbAdministration" runat="server" PostBackUrl="~/Admin.aspx" >Administration</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="LinkButton2" runat="server" PostBackUrl="~/pheTubewellFiles/contentReportTubewellMenu.aspx">Tubewell Reports</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;                
                <asp:LinkButton ID="lbReports" runat="server" PostBackUrl="~/pheSchemeFiles/contentReportSchemesMenu.aspx">Scheme Reports</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="lbRegister" runat="server" PostBackUrl="~/pheSchemeFiles/contentReportAllSchemeTypes.aspx">Register</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
            </div>

            <div id="divContentPlaceHolder" runat="server" class="ContentPlaceHolder">
                <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
                </asp:contentplaceholder>
            </div>
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>

The error shown at run-time in IE debugger is this:

enter image description here

Why is ScriptManager and related AJAX tags giving this error?

  • 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-05-26T03:18:04+00:00Added an answer on May 26, 2026 at 3:18 am

    You are using <link> tags to include javascript files. They should be included like this:

    <script type="text/javascript" src="script.js"></script>
    

    You also have one of your last <link> tags importing a css file but its type set to javascript:

    <link href="Resources/JQueryScripts/MsgBox/jquery.msgbox.css" type="text/javascript" />
    

    Solve these problems and maybe the rest will work?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page that is based on my master page. the code below
work on asp.net vs 05 C#.Master page header contain the bellow code <script type=text/javascript
Below code saying error incorreect syntax near Main INSERT INTO tbl ( 'Week', Main,
I have this code, I added JS Script file to my Master page. <script
I have the following code in my Site.Master page of an almost empty ASP.NET
The below code is very simple. I have a jQuery autocomplete bound to an
My below code works fine and is used to populate a <select> item with
The below code works when there are a few element in the To list
The below code in Java throws Null pointer exception. public class New{ int i;
The below code seems like it should work; however, the blob in the database

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.