473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Microsoft JScript runtime error sys is undefined Error

45
Hi All,


I am getting JScript runtime error.

Expand|Select|Wrap|Line Numbers
  1.  <asp:ScriptManager ID="ScriptManager2" runat="server">
  2.                     </asp:ScriptManager>
  3.                     <asp:UpdatePanel ID="upnl1" runat="server">
  4.                         <ContentTemplate>
  5.                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  6.                             Select&nbsp;&nbsp;Region :
  7.                             <asp:DropDownList ID="ddlRegion" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlRegion_SelectedIndexChanged">
  8.                             </asp:DropDownList>
  9.                             <asp:RequiredFieldValidator ID="rflRegion" InitialValue="Select Region" runat="server"
  10.                                 ControlToValidate="ddlRegion" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
  11.                             &nbsp;Select Country :
  12.                             <asp:DropDownList ID="ddlCountry" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlCountry_SelectedIndexChanged">
  13.                             </asp:DropDownList>
  14.                             <asp:RequiredFieldValidator ID="rflCountry" InitialValue="Select Country" runat="server"
  15.                                 ControlToValidate="ddlCountry" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
  16.                             &nbsp;Select Site :
  17.                             <asp:DropDownList ID="ddlSite" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlSite_SelectedIndexChanged">
  18.                             </asp:DropDownList>
  19.                             <asp:RequiredFieldValidator ID="rflSite" InitialValue="Select Site" runat="server"
  20.                                 ControlToValidate="ddlSite" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
  21.                             <br />
  22.                             <br />
  23.                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  24.                             Select Campaign:
  25.                             <asp:DropDownList ID="ddlCompaign" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlCompaign_SelectedIndexChanged">
  26.                             </asp:DropDownList>
  27.                             <asp:RequiredFieldValidator ID="rflCampaign" InitialValue="SELECT CampaignName" runat="server"
  28.                                 ControlToValidate="ddlCompaign" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
  29.                             &nbsp;Select LOB :
  30.                             <asp:DropDownList ID="ddlLOB" runat="server">
  31.                             </asp:DropDownList>
  32.                             <asp:RequiredFieldValidator ID="rflLOB" InitialValue="SELECT LOB" runat="server"
  33.                                 ControlToValidate="ddlLOB" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
  34.                             <%--   <asp:TextBox ID="txtStartDate" runat="server" />
  35.                         </td>
  36.                         <td align="left">--%>
  37.                             <%--  <Cal:DateSelector ID="DateSelector4" runat="server" />
  38.                                              <td align="center">--%>
  39.                             <%--  <a href="javascript:;" onclick="window.open('popup.aspx?textbox=ctl00_ContentPlaceHolder1_txtStartDate','cal','width=250,height=225,left=270,top=180')">
  40.                             <img src="ImgMain/cal.gif" border="0"></a>--%>
  41.                             &nbsp;
  42.                             <br />
  43.                         </ContentTemplate>
  44.                         <Triggers>
  45.                             <asp:AsyncPostBackTrigger ControlID="ddlRegion" />
  46.                             <asp:AsyncPostBackTrigger ControlID="ddlCountry" />
  47.                             <asp:AsyncPostBackTrigger ControlID="ddlSite" />
  48.                             <asp:AsyncPostBackTrigger ControlID="ddlCompaign" />
  49.                         </Triggers>
  50.                     </asp:UpdatePanel>
Feb 23 '11 #1
3 2665
Frinavale
9,735 Expert Mod 8TB
Do you have 2 ScriptManagers on the page?



-Frinny
Feb 23 '11 #2
NareshN
45
Hi Frinavale,

I have only 1 script manager but still i am getting error.I am using scriptmanager in another aspx page there i am not getting any error.

Earlier it was working fine from the past 3 days i am getting this error.
Feb 24 '11 #3
Frinavale
9,735 Expert Mod 8TB
Most of the time when I encounter that error I am trying to run something in the ASP.NET Ajax Library when the page has been unloaded (or is unloading) and the Library is no longer available.
Feb 24 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: emfinkk | last post by:
Everything was working fine. I installed a bunch of Windows Updates and now I can no longer create ActiveX objects on 2 different Web Servers (1 Server2000, 1 Server2003). I have reinstalled...
1
by: finditajr | last post by:
Hello I'm having the following problem: My main webpage calls a function stored in a .js file that creates an HTML window to display a calendar. Whenever I click on a date in that calendar,...
1
by: fhedzi | last post by:
please guys help me out i don't understands and what to do.
11
by: baburk | last post by:
I wants to capture Table contents(ie. entire table) into image file in aspx page. How to do?. There is a code for captuer a portion of he screen. Cature a rectangle of the screen and save to...
1
by: pratimapaudel | last post by:
function Showdiv() { var SelectStates = document.getElementById('Select1').value; if(SelectStates ="3") { document.getElementById("div2").style.display = "block"; } else ...
7
by: EdEvans | last post by:
have the following code on a page: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Page.ClientScript.RegisterStartupScript(this.GetType(), "DoPreview",...
3
by: suganya | last post by:
Hi Some professionals already has developed the project using menu. In my company, they have given me task to clear the error in that. It is a script file named as "menubarAPI4.js" which is kept...
0
by: =?Utf-8?B?VEQgaW4gUFNQ?= | last post by:
I've created a web service which I'm just running on my localhost development machine right now. If I open http://localhost/WebServices/MyWebService.asmx in IE everything works fine. However when...
1
by: NareshN | last post by:
Hi All, i am trying to upload excel data into datbase i am getting jscript error but data is uploading sucessfully.I am using ajax extension. Same code i am using for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.