Logo

Advertisement

AJAX :: AJAX Modal Error - Microsoft JScript Runtime Error: Sys.ArgumentNullException: Value Cannot Be...

forums.asp.net

Modal not showing up when show is called, also error on loading page. Attaching code below, can anyone help me discover my syntax / logic issues here? NOTE: Did some research on this before posting, some claimed it can be an issue of where the modal is placed on the page in relation to the update panel I am using. I have tried different placements of the modal extender and I also tried removing the update panel all together in hopes to at least see the modal show, no go...same issue. So with that, the issue shouldnt be around the use of the update panel... Here is the error: icrosoft JScript runtime error: Sys.ArgumentNullException: Value cannot be null. Parameter name: elements and the code...

View Answers
Very similar questions

Advertisement

Advertisement

Web Forms :: Microsoft JScript Runtime Error: Sys.ArgumentNullException: Value Cannot Be Null forums.asp.net

Keep getting the following error after button is clicked: Microsoft JScript runtime error: Sys.ArgumentNullException: Value cannot be null. Parameter name: elements

AJAX :: Using Modalpopupextender With Web User Control? forums.asp.net

I want to show a modal popup when the record is inserted successfully, and i want to show this message on multiple pages, So i thought of creating a 'Web-user control'.But i am not sure, how to use this control with Modalpop up( How should i give Ok control ID , Cancel control id) [Code].... and my Modal popup code is: [Code].... Error Is : Microsoft JScript runtime error: Sys.ArgumentNullException: Value cannot be null. Parameter name: element

Implemented�a�ajax Modalpopup / Sys.ArgumentNullException: Value Cannot Be Null Error forums.asp.net

I implemented a ajax modalpopup but I get this error: Sys.ArgumentNullException: Value cannot be null.Parameter name: element

Visual Studio :: Ajax Script Manager Is Drag To A Page / Error Pupup When Run forums.asp.net

i drag scriptmanager from the Ajax Extension tab to my designer or code view page and click the deburg to run ,the following error will pupup and when i remove the script manager, it will run without error. these is the error. 1. Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load. if(typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.'); 2. Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load. Sys.WebForms.PageRequestManager._initialize('ScriptManager1', document.getElementById('form1')); 3. Microsoft JScript runtime error: 'Sys' is undefined Sys.Application.initialize();

AJAX :: Error: Microsoft JScript Runtime Error: Sys.ArgumentException: Value Must Not Be Null For Co... forums.asp.net

I have an asp:BulletedList controls with AJAX:PagingBulletedListExtender on my aspx page. It gives error as: Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors. Parameter name: element If I removed, the asp:BulletedList controls and AJAX:PagingBulletedListExtender from my page then page run without any error. I am not getting the cause of the error.

Ajax :: Client-side Framework Failed To Load Asp.Net 4.0? stackoverflow.com

I got a complicated problem with ASP.Net 4.0 Ajax....I started a website with Visual Studio 2010 on my machine,and added some update panels they used to work fine,but suddenly i got that series of errors when i run my websiteMicrosoft JScript runtime error: ASP.NET Ajax client-side framework failed to load.Microsoft JScript runtime error: 'Sys' is undefinehe strange things is that i made a website on the same machine with VS 2010 and the update panels there work perfectly.i took its web.config to my new website and changed just the connection..and i got the same error

JQuery :: Microsoft JScript Runtime Error: 'readyBound' Is Undefined? forums.asp.net

i am using this in the heder of my master page but every time i am going to run the project i got this error "Microsoft JScript runtime error: 'readyBound' is undefined"or when use jquery in genral i got "microsoft jscript runtime error object doesn't support this property or method" + "$("#tabs").tabs();" <link type="text/css" rel="Stylesheet" href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.5/themes/redmond/jquery-ui.css" />

AJAX :: The Script 'Timer.js' Has Been Referenced Multiple Times? forums.asp.net

I am having a problem with ajaxcontroltoolkit 3.5. I am getting the following error "Microsoft JScript runtime error: Sys.InvalidOperationException: The script 'Timer.js' has been referenced multiple times. If referencing Microsoft AJAX scripts explicitly, set the MicrosoftAjaxMode property of the ScriptManager to Explicit." I have migrated ajax web app from 2.0 to 3.5 and have changed ScriptManager to ToolkitScriptManager.

Installation :: MS JScript Error / Ajax? forums.asp.net

I recently built a new dev pc with Windows 7/VS 2008. I loaded Ajax 1.0, as that is what our web application uses, and I am getting the following error right after a user trys to login using the login control:Microsoft JScript runtime error: 'Sys.WebForms.Res.PRM_ParserErrorDetails' is null or not an object

AJAX :: Multihandle Slider Cause Jscript Error? forums.asp.net

'm new to Ajax control toolkit so maybe I missed something essential on the way. I have downloaded and added Ajax to my project and everything seems fine. The Slider contor works but when I add a MultiHandleSlider to my page and run it I get the following error:Runtime error Microsoft JScript: 'null' is null or not an objectThis is the code for my MultihandleSlider: [Code].... I have tried all sorts of combinations but I still get this error - Does anyone have an idea on how to solve this?

Advertisement

Hitting Backspace In AJAX ComboBox Causes JavaScript Error? stackoverflow.com

I am using a ComboBox from the ASP.NET AJAX Toolkit (version for .NET 3.5) with values populated into its DataSource property.If I use my mouse to drop the combobox down and select a value, then highlight the value and click backspace, I get an error: Microsoft JScript runtime error: '_optionListItems[...].text' is null or not an objectMy DropDownStyle is set to "DropDown" so I should be able to have text in the control that does not exactly match one of the items in it. Therefore, I do not understand why I get this error. It seems to work perfectly otherwise.

AJAX :: Microsoft JScript Runtime Error: 'document.getElementById(...)' Is Null Or Not An Object? forums.asp.net

I am using some AJAX and some JQuery for Login panel animation in Master page.Also in my home page I am using AJAX Tab container.It works fine when I run the application without login.If I logged in I got the following error when I put the breakpoint into my code, Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object,It shows at the following Line at the Home[dynamic] page. document.getElementById('ctl00_sdfsf').dispose = function() { Array.remove(Page_ValidationSummaries, document.getElementById('ctl00_sdfsf')); }

AJAX :: Error With OutputCache When Use Accordion In Toolkit/'Sys.Extended.UI' Is Null Or Not An Object forums.asp.net

i use accordion from ajax toolkit it work correctly when i use outputcash it gives me this error: Microsoft JScript runtime error: 'Sys.Extended.UI' is null or not an object [Code]....

AJAX :: ComboBox Runtime Error When Deleting The Text / '_optionListItems[...].text' Is Null Or Not An... forums.asp.net

I have a problem with the Ajax ComboBox from the Ajax Control ToolKit. When I want to erase the text in the ComboBox, I got this error: "Microsoft JScript runtime error: '_optionListItems[...].text' is null or not an object". I only get this error when deleting the content of the Combox is the first action I do on the ComboBox. If I overwrite the text by entering something else before deleting this text, I got no error.

AJAX :: ModalPopupExtender & RoundedCornersExtender Inside UpdatePanel? forums.asp.net

I have recently updated ajax control toolkit from 30512 to 30930 (same applies to latest version of ASP.Net Ajax Library) and came across a reproducable problem.For a long time I used to have a control with ModalPopupExtender & RoundedCornersExtender which was placed inside of an UpdatePanel and everything worked great up until recently. Now I'm getting "Microsoft JScript runtime error:Sys.InvalidOperationException: Two components with the same id 'rce' can't be added to the application." during an async postback.Click on button "Wait" and error comes up every time. [Code]...

Asp.net - Error : The Message Received From The Server Could Not Be Parsed stackoverflow.com

I am trying to use AJAX UpdateProgress to display the loading image when the zip file is being created but get the following error: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Detals: Error parsing near 'PK'. Below is the code for my .aspx page <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <style type="text/css"> [code]....

AJAX :: Adding Ajax To An Existing Site? forums.asp.net

I have an existing web app written on 3.5 platform. I'd like to start implementing Ajax for things like modal pop-ups, dropdown lists, etc. I've added the tool kit to my VS and installed Ajax extension. With the Ajax extensions, I just downloaded the .msi file on the desktop and ran it. When I run the app in debug mode I get some errors: Default.aspx[dynamic] throws this: ASP.NET Ajax client-side framework failed to load. Another one, in the same file: Miscrosoft Jscript runtime error: 'Sys' is undefined, pointing to a line with this code "Sys.WebForms.PageRequestManager._initialize('ScriptManager1', document.getElementById('form1'));" Some posts suggested that the easiest way to overcome this is to create a new Ajax enabled site and copy the web.config file. I did that and got a whole new set of errors.

AJAX :: Microsoft JScript Runtime Fires Error forums.asp.net

I have created an AJAX Server Control Extender which uses the Sys.Timer-object in the client behavior. It worked at first, but suddenly I started to get "Microsoft JScript runtime error: Object expected" when running the page with the extender. When debugging, I see that the line - this._timer = new Sys.Timer(); - in my .js-file which fires the error is the bold line in this function: [Code].... I'm using VS 2010 and ASP.NET 4.0

AJAX :: Using CompositeScript To Combine ScriptResource.axd Files? forums.asp.net

I'm having a problem trying to combine the ScriptResource.axd files automatically generated by Ajax using ScriptManager's CompositeScript property....on some pages there's 15 of these files, so I'd like to reduce that number to reduce the HTTP requests. I tried following the post here - [URL] - but am getting errors when trying to do what it instructs, such as: Microsoft JScript runtime error: 'Sys' is undefined Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load. Below is the code I am using for the ScriptManager. These errors go away if I do not use CompositeScript. Has anyone else attempted to combine these files? Am I doing something wrong in this code? [Code]....

AJAX :: Error - Two Components With The Same Id Can't Be Added To The Application forums.asp.net

I am using the AJAX Control toolkit version 4.1.40412.0 in a C# web application that is using .NET 4.0. I am programming with Visual Studio 2010. Most of the time, the AJAX Control toolkit works properly. However, in one instance, the AJAX Toolkit generates this error message: Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'ctl00_ContentPlaceHolder1_FormTemplateCtl7_UpdateProgress1' can't be added to the application. The error is generated here: function Sys$_Application$addComponent(component) { /// <summary locid="M:J#Sys.Application.addComponent" /> /// <param name="component" type="Sys.Component"></param> var e = Function._validateParams(arguments, [ [Code].... The problem appears to be with the UpdatePanel1 object.

AJAX :: Getting 'Sys.ArgumentNullException: Sys.ArgumentNullException: Value Cannot Be Null In AJAX ... forums.asp.net

In a webform I have placed update panel and set of controls inside it. For a checkbox control, I have set AutoPostBack = True.When running the form in IE 7.0, when I check/uncheck the checkbox, it is throwing Sys.ArgumentUndefined Exception. Value cannot be undefined. Parameter Name: id In FireFox, it is throwing "Error: [Exception... "'Sys.ArgumentNullException: Sys.ArgumentNullException: Value cannot be null. Parameter name: element' when calling method: [nsIOnReadyStateChangeHandler::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]"

AJAX :: Script Controls May Not Be Registered After PreRender? forums.asp.net

I get this error on postback from using a dynamic created controls, specifically the Ajax ComboBox. If I use DropDownList instead, then I don't get the error. How to over come this issue? I do need to use theAjax ComboBox because it allow extra properties not available in DropDownListHere is the complete error:Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Script controls may not be registered after PreRender.My ToolKitScriptManager resides in the MasterPage.

AJAX :: Generate Excel From Webform? forums.asp.net

I've a asp.ajax webform. I'm trying to generate the excel from the that page. But I get the following error: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near 'BDE,ClientCode,Clien'. I'm using the Response.Write to generate the CSV file.

JQuery :: Getting Error In Opening Aspx Page In Modal Popup forums.asp.net

I am trying to open aspx page in jquery modal popup. Its opening fine, but if i am firing any event of that page(page which is inside modal popup) i am getting javascript error: Microsoft JScript runtime error: 'theForm.elements.length' is null or not an object

Security :: The Server Method 'Login' Failed? forums.asp.net

I'm trying to use ASP.NET MembershipProvider from an Ajax client (only html, css, js) (login.htm) by using a WCF service (AuthenticationService.svc). When running login.htm I get "Microsoft JScript runtime error: Sys.Net.WebServiceFailedException: The server method 'Login' failed with the following error: -- The server method 'Login' failed."I'm completely stuck what goes wrong here?login.htm<!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"> [code]...

AJAX :: Microsoft JScript Runtime Error: Sys.ArgumentNullException: Value Cannot Be Null. Parameter ... forums.asp.net

I am facing a below mentioned issue while running a ASP.net application....the control goes to an .axd file and show the below error Microsoft JScript runtime error: Sys.ArgumentNullException: Value cannot be null. Parameter name: elementI have some dropdowns, one button and grid in my page. I add ListSearchExtender and validatorcalloutExtender controls to my dropdowns. When i select some item and click on button, i am getting the above mentioned error. I am unable to find this error for the last few days. Pls help me in this and save my life. This is very very urgent to me.

JQuery :: Microsoft Runtime Error - Invalid Origin forum.jquery.com

Error while running the JScript Microsoft JScript runtime error: Invalid origin: [url]

JQuery :: Runtime Error: Microsoft JScript Runtime Error: "nodeName" Is Null Or Not An Object forums.asp.net

Microsoft JScript runtime error: 'nodeName' is null or not an object in jquery-1.4.2.min.js It occures only with IE.

Microsoft JScript Runtime Error: 'Sys' Is Undefined stackoverflow.com

I am having problems with an intermitent error in an ASP.Net Ajax enabled website. The error I am receiving is the old faithful "Microsoft JScript runtime error: 'Sys' is undefined" error. Googling this error usually turns up the suggestion to add the correct "httpHandlers" and "httpModules" into the "web.Config" file. The web.config file for this project already has the following lines for those two sections. See below: [Code].... The error is intemittent, it sometimes does not present at all when debugging a page, and other times it will present constitently for anything up to a day or so? BTW, we are using Telerik ajax controls on the page. One of our custom JavaScripts does render before the scriptmanager. ahve tried using both "RadScriptManager1.RegisterClientScriptBlock(...)" and "ClientScript.RegisterClientScriptBlock(...)" but both seem to render the script block above the "Sys.WebForms.PageRequestManager._initialize(...)" line.

AJAX :: Using Button Inside Ajax Pop Up Extender Give Me That Error On Click : Microsoft JScript Run... forums.asp.net

I'm Using Ajax POP UP Extender Control ... and The Panel Which will appear in The POP UP Has Data List ... Inside That DataList i have Image Button For Each Item In Data List.... When I click in any Image Button in That DataList ......I Get That Error At run time Microsoft JScript runtime error: 'this._postBackSettings.async' is null or not an object ... My ASPX Code is [Code].... And I put that code inside update panel and ToolkitScriptManager

AJAX :: Gridview Inside Update Panel forums.asp.net

i've a gridview, a dropdownlist and an updatepanel without UpdatePanel : when i select values from dropdownlist it updates the gridview, working fine with UpdatePanel : it showing an javascript error "Line: 4044 Error: Sys.InvalidOperationException: Two components with the same id 'ctl" and when i close the window (ie8) the error is coming "Line: 2989 Error: Sys.ArgumentNullException: Value cannot be null. Parameter name: element"

AJAX :: Microsoft JScript Runtime Error Sys Is Undefined Error? forums.asp.net

I am getting microsoft jscript runtime error.I am using Ajax extensions(3.5).Yesterday it was working fine but today i am getting this error.In another page i am using script manager there i am not getting error when i try to upload data into database i am getting error. <asp:ScriptManager ID="ScriptManager2" runat [code]...

AJAX :: Js: Document.getElementById("button1").click(); Not Working In Asp.net Ajax? forums.asp.net

Before I use magic ajax, it was not a problem that if it's not ajax call, I can perform document.getElementById("button1").click(); However, in asp.net ajax extension, I can not do this and it reports a run time ajax error: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 What happens is, in my code, I have a facility to check if the user change any data they just input every 5 minutes. If yes, I will do a save function without notifying the user. and all the things are done on client side. So I have to use javascript, however, I could not user button.click() on js anymore.Is there any other way to call a server side function (code behind) by javascript?

AJAX :: Unable To Hit Any Breakpoints In VS 2010 With Control Toolkit forums.asp.net

I had a dropshadow extender attached to a gridview. I was getting an error: Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors. Parameter name: element So I removed the extender and I have a break point on: If Not Page.IsPostBack Then And it never stops there anymore. Page comes up though. I have restarted VS and rebooted. The app consists of a WebSite and WCF.

Microsoft JScript Runtime Error - 'keyCode' Is Null Or Not An Object forums.asp.net

I had to exclude several pages from my website to get it to run in vs 2008. When I finally got the home page to come up, I tried to type a character into the login box, and at the first character the probelm blows up: Microsoft JScript runtime error: 'keyCode' is null or not an object This is insanse. This is the page I'm on when it crashses. Does this have something to do with ajax? [Code]....

Crystal Reports :: Microsoft JScript Runtime Error: 'Sys.Application' Is Null Or Not An Object forums.asp.net

The problem is in the crv.js, at Sys.Application.notifyScriptLoaded(); when I try to open a report is shows Microsoft JScript runtime error: 'Sys.Application' is null or not an object If I click Ignore or Continue, it's show the report properly, but when I deploy it to the development server it does not work. At this time I am trying to open a simple report with the date and page number. there is a CrystalReportViewer at the Default.aspx page. the code is [Code]....

AJAX :: Microsoft JScript Runtime Error In Using Slideshow Extender forums.asp.net

when I run my site that used Slideshow Extender, i get this Error: Microsoft JScript runtime error: Sys.InvalidOperationException: Can't add a handler for the error event using this method. Please set the window.onerror property instead. in localhost i ignore this Error and Slideshow Extender works correct. but when i publish the site I have JScript Error and Slideshow Extender not be loaded.

AJAX :: Sys.InvalidOperationException: Two Components With The Same Id 'x' Can't Be Added To The App... forums.asp.net

I am using ModalPopupExtender in my ASP.Net 2.0 User Control and it works as usual with Ajax.But when I click a node of a tree view control,an Ajax PostBack occurs and get the "Sys.InvalidOperationException: Two components with the same id 'x' can't be added to the application" and popup is unable to pop.It is a Javascript error.But no other Ajax PostBacks occur that error and if the AutoPostBack value of the treeView is false than no error occurs.x is the ID of the ModalPopupExtender and it's actual value is "OgretimProgramiGirisi_modalPopupExtender1".

Accessing Cross-domain Data Using Jsonp? stackoverflow.com

I'm trying to access php web service (returning jsonp and url format is [URL]. First it was failing silently. So, I tried debugging following code in direct Visual Studio and IE. <script type="text/javascript"> $(document).ready(function () { $('#btnClick').click(function () { $.ajax({ [Code]..... After click, the data comes in VS (which is a correct jsonp output) but VS throws an error. Following is the result: Copy code data({"code":001,"msg":"true","data":{"obj1":"val1","obj2":"val2"}}) Error in VS: Microsoft JScript runtime error: 'data' is undefined

AJAX :: Displaying Popup Message Within Ajax Modal Popup forums.asp.net

In my application I have a formview which is inside of a Ajax modal popup.Once users enter the information in the formview and click save, I validation the input.errors, I want to display an error message as a popup or as a modal popup (not javascript alert) with in the ajax modal.How do I do that. I tried several ways but it closes the ajax modal popup.

AJAX :: Microsoft JScript Runtime Error: Sys.InvalidOperationException: The PageRequestManager? forums.asp.net

have a problem on my application, i am using LightBox javascript that is using prototype.js library, and when i open any pop up that is having script manager it generate this error:Microsoft JScript runtime error: Sys.InvalidOperationException: The PageRequestManager cannot be initialized more than once.I know that is because i have scriptmanager on the parent page that opened the pop up and its something relates to prototype.js but i dont know the connection!

Javascript - How To Store Value To ViewState stackoverflow.com

I can tried save some data to ViewState, but i get this Error: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Error serializing value 'HeRMeSSAAS.BussinesProcess.BussinesServices.CandidateService' of type 'HeRMeSSAAS.BussinesProcess.BussinesServices.CandidateService.' Code: private IActionService ActionService { get [code]... How i can store value to ViewState?

AJAX :: Registering To PropertyChanged Event Cause An Error forums.asp.net

I register to a propertyChanged event of an entity which inherits Sys.Component. When the propertyChanged event is raised I get the following error: Microsoft JScript runtime error: 'method' is null or not an object My registration code (which is located in another entity which inherits component) is: this._propertyChangedHandler = Function.createDelegate(this, this._onPropertyChanged); field.add_propertyChanged(this._propertyChangedHandler);

.net - Accessing The Sibling Of A Checkbox Using Jquery? stackoverflow.com

I am acessing the sibling of a checkbox using parentNode.nextElementSibling.value;It will returns value and works fine in Firefox.But in IE it is saying Object is null and saying Microsoft JScript runtime error: 'parentNode.nextElementSibling.value' is null or not an object My function is as follows function chkEnergy() { var inputs = $('.check input'); var count = 0;var ok = 1;[code].... I uses this way to have dataList where checkbox and textbox were there <asp:DataList ID="dlstEnergyItems" runat="server" RepeatColumns="4" RepeatDirection="Horizontal" Width="100%"> <ItemTemplate> <asp:CheckBox ID="cbEnergyItems" runat="server" CssClass="check" />[code]....

C# - JScript Runtime Error: AjaxControlToolkit Requires .NET 4.0? stackoverflow.com

I implemented a simple autocomplete method using AJAX Autocomplete Extender through this video:http://www.asp.net/ajax/videos/how-do-i-use-the-aspnet-ajax-autocomplete-controlI am pulling from the web service for my data. Nothing major...But when I am running the application .NET is throwing me this error: Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.This is my code for the textbox that implements extender: <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> <Services> <asp:ServiceReference Path="~/WebService1.asmx" /> </Services> [code]...

AJAX :: "Microsoft JScript Runtime Error: Sys.ArgumentUndefinedException: Value Cannot Be Undefined? forums.asp.net

i'm trying to use the ajax control toolkit but each time i'm trying to run my project i'm getting a: "Microsoft JScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name: type " Error. if i hit the continue button the page loads but without the functionality of the control,the control that i'm trying to use is the AutoCompleteExtender. i followed all the video tutorials and read many post about this toolkit but found nothing about this error. i tried this on both web developr 2008, 2010 and visual studio 2008.

AJAX :: Microsoft JScript Runtime Error: 'Sys.Extended.UI' Is Null Or Not An Object forums.asp.net

This is the following structure of my solution explorer. base directory -> i have a login.aspx and a reference directory which refers to ajax toolkit. The ajax toolkit works fine here. private directory -> i have my homepage but the ajax toolkit doesn't work here. the above error is shown at this location :- (function() {var fn = function() {$get('ToolkitScriptManager1_HiddenField').value = '';Sys.Application.remove_init(fn);};Sys.Application.add_init(fn);})();Sys.Application.initialize(); Sys.Application.add_init(function() { $create(Sys.Extended.UI.TabPanel, {"headerTab":$get("__tab_TabContainer1_TabPanel1"),"ownerID":"TabContainer1"}, null, {"owner":"TabContainer1"}, $get("TabContainer1_TabPanel1")); }); I have one web.config in the private folder . This is the structure :- <configuration> <appSettings/> <connectionStrings/> <system.web> <authorization> <deny users="?" /> <allow users="*" /> </authorization> </system.web> </configuration> If i allow all users to access this folder or remove this web.config file, then the ajax toolkit works. I need to protect this folder and i am using form authentication. Could someone point me where i went wrong. Kindly keep in mind that i am new to asp.net.

AJAX :: Change The Script Manager To A ToolkitScriptManager - Getting An Error? forums.asp.net

We have a DNN site and we use the AJAX Toolkit. We upgraded from AJAX 30930 to 40412. We changed the script manager to a ToolkitScriptManager. I have a image button that posts back and calls a modal popup.show() method. When I click the button I get a javscript error before the post back: Error: Sys.WebForms.PageRequestManagerServerErrorException: This version of MicrosoftAJAX does not offer the ScriptManager.RegisterClientScriptBlock method.

AJAX :: Microsoft JScript Runtime Error: Sys.WebForms.PageRequestManagerServerErrorException? forums.asp.net

I am using Ajax Combobox's in my application. The controls are re-created dynamically on page_load after postback. But I keep receiving this error when selecting an item from the ajax combobox when i run the application.Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Script controls may not be registered after PreRender.My Master_Page... [Code].... My .aspx page (Content_Page)... [Code].... I had done the above methods based on other posts but it still does not resolve the issue. I must be missing something simple,

AJAX :: Sys.extended.UI.PositioningMode.Absolute Is Null Or Not An Object ,callout Ajax Control forums.asp.net

I'm using callout ajax control but i'm getting an error "sys.extended.UI.PositioningMode.Absolute"

JQuery :: Fetch Client ID In Master Pages Properly? forums.asp.net

just wanted to know how to fetch client ID of controls in child pages in master page layout? Trying to use but no avail $addHandler($get('<%=btnSavLay.ClientID%>'), 'click', function() { $('#Layers').block({ message: null }); }); It always throws Sys.ArgumentNullException: Value cannot be null. Parameter name: element [Break on this error] {name: "handler", type: Function}

C# - Microsoft JScript Runtime Error: Object Doesn't Support This Property Or Method? stackoverflow.com

I am writing a Web Application in ASP.NET using C#. Whenever I run it, I get three types of Runtime Javascript Errors. My Problem is that even though I am running a new Web Application with out any modification, then I also get the same errors. These are the errors: Microsoft JScript runtime error: Object doesn't support this property or method at document.addEventListener("mousemove", updateLastMouseMoveCoordinates, false); Microsoft JScript runtime error: Object expected at divSurveyInit(); Microsoft JScript runtime error: Object doesn't support this property or method at enter code here: document.addEventListener("mousemove", updateLastMouseMoveCoordinates, false);

JQuery Error On JavaScript Document Null Or Undefined stackoverflow.com

I am recieving the following error when trying to execte the java script listed below in the page load event of an aspx web page. Microsoft JScript runtime error: Unable to get value of the property 'document': object is null or undefined Dim scriptString As String = ("<script>javascript: window.opener.document.forms(0).submit(); </script>") If Not Page.ClientScript.IsClientScriptBlockRegistered(scriptString) Then Page.ClientScript.RegisterClientScriptBlock(Me.[GetType](), "script", scriptString) End If I am trying to produce a postback.

Javascript - How To Resolve Error When Ajaxtoolkit 3.5 Is Used "The Controls Collection Cannot Be Mo... stackoverflow.com

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). I am using it in Gridview's EditTemplate Field to show color with ajax 3.5 This is my master page hierarchy <%@ Master Language="C#" AutoEventWireup="true" CodeFile="Outer.master.cs" Inherits="Home" %> <%@ Master Language="C#" MasterPageFile="~/Outer.master" AutoEventWireup="true" CodeFile="FullMid.master.cs" Inherits="FullMid" %> <%@ Page Title="" Language="C#" MasterPageFile="~/FullMid.master" AutoEventWireup="true" CodeFile="StatusRoomMaster.aspx.cs" Inherits="StatusRoomMaster" %> Page where I am getting error <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %> <EditItemTemplate> <asp:TextBox ID="txtColorCode" runat="server" Text='<%# Bind("ColorCode") %>'></asp:TextBox> [code].... I am using it under masterpage's -> masterpage's -> page <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </asp:ToolkitScriptManager> I am using this in outer.master and no update panel has been used.

AJAX :: Send Email Using Modal Popup Extender? forums.asp.net

I have a panel that sends an email message. I wish to use an ajax modal popup extender to display this panel when a user clicks a "Contact Us" link button. I get an error message when I try to run the application. My code follows. <body> <form id="form1" runat="server"> <ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" /> <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID ="ContactUsLinkButton" PopupControlID ="EmailPopupPanel" OkControlID="OKButton" CancelControlID="CancelButton" DropShadow="true" BackgroundCssClass ="modalBackground" /> <asp:LinkButton ID="ContactUsLinkButton" runat="server">Contact Us</asp:LinkButton> <div > <asp:Panel ID="EmailPopupPanel" runat="server" CssClass ="popupEmail" Width="325px" Style="display: none" > <asp:Label ID="TitleLabel" runat="server" BackColor="#FFFFC0" Font-Bold="True" Font-Size="Medium" ForeColor="SteelBlue" Text="Contact D`Stroke Tennis" Width="300px"></asp:Label> <br /> <asp:Label ID="InfoLabel" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="Red"></asp:Label> <br /> <br /> <asp:Button ID="OKButton" runat="server" BackColor="#FFFFC0" Font-Bold="True" ForeColor="DarkRed" Text="OK" Visible="False" /><br /> <span style="color: #990000"><strong><asp:Label ID="FromLabel" runat="server" Text="From:"></asp:Label></strong> </span> <asp:TextBox ID="FromTextBox" runat="server" Width="250px" ForeColor="DarkRed"></asp:TextBox> <br /> <br /> <asp:Label ID="ToLabel" runat="server" Text="To: admin@dstroketennis.com" Width="300px" BackColor="#FFFFC0" Font-Bold="True" ForeColor="DarkRed"></asp:Label> <br /> <br /> <span style="color: #990000"><strong><asp:Label ID="SubjectLabel" runat="server" Text="Subject:"></asp:Label></strong></span> <asp:TextBox ID="SubjectTextBox" runat="server" Width="240px"></asp:TextBox><br /> <br /> <span style="color: #990000"><strong> <asp:Label ID="MessageLabel" runat="server" Text="Message:"></asp:Label></strong></span><br /> <asp:TextBox ID="MessageTextBox" runat="server" Height="150px" TextMode="MultiLine" Width="300px" ForeColor="DarkRed"></asp:TextBox><br /> <asp:Button ID="SendEmailButton" runat="server" BackColor="#FFFFC0" BorderColor="DarkRed" BorderStyle="Solid" Font-Bold="True" ForeColor="DarkRed" Text="Send Email" Width="173px" /> <br /> <asp:Button ID="CancelButton" runat="server" BackColor="#FFFFC0" BorderColor="DarkRed" BorderStyle="Solid" Font-Bold="True" ForeColor="SteelBlue" Text="Cancel Email" Width="173px" /></asp:Panel> </div> </form> </body> Tags: ajax, ie 7, Microsoft JScript runtime error: Sys.ArgumentNullException: Value cannot be null. Parameter name: element

AJAX :: Sys.Extended Is Undefined? forums.asp.net

We just upgraded from 2.0 to 3.5 and the latest AJAX Toolkit. AjaxControlToolkit.dll is version 3.5.40412.0 Project references are up to date. The old Toolkit files were deleted and the new ones copied from the distribution ZIP. ScriptManagers were replaced with ToolkitScriptManagers. The project builds with zero errors. The built-in AJAX controls (UpdatePanels, etc.,) work but the Toolkit controls don't. This is happening on local developer boxes and on our development server. The javascript error we're seeing is "Sys.Extended is undefined." It's occurring in server-generated script blocks like this: <script type="text/javascript"> //<![CDATA[ (function() {var fn = function() {$get('ctl00_ToolkitScriptManager_HiddenField').value = '';Sys.Application.remove_init(fn);};Sys.Application.add_init(fn);})();Sys.Application.initialize(); Sys.Application.add_init(function() { $create(Sys.Extended.UI.TextBoxWatermarkBehavior, {"ClientStateFieldID":"ctl00_PageTop_Search_TextBox_TextBoxWatermarkExtender_ClientState","WatermarkCssClass":"Watermark","WatermarkText":"keyword","id":"ctl00_PageTop_Search_TextBox_TextBoxWatermarkExtender"}, null, null, $get("ctl00_PageTop_Search_TextBox")); }); //]]> </script> I found a similar post on CodePlex: http://ajaxcontroltoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=26717&FocusElement=CommentTextBox

Accessing JSON Data From Page Using JQuery forums.asp.net

I am trying to load the JSON data that I am getting from an aspx page into a drop down list that I have on another page but I am getting the following javascript error. Microsoft JScript runtime error: 'SiteID' is null or not an object The SiteID is not returning null though and I believe that is an object. The following is the code I am using to try and load the data into the drop down list: $.getJSON('Test.aspx?DepotID=' + DepotID, function (sites) {

AJAX :: Trying The AjaxListSearch Extender Control But It Is Not Working? forums.asp.net

I been trying the AjaxListSearch extender control but it is not working...I added a listbox and added the ajaxlistsearchextender on it.I get this error :Error : 'Sys.Extended.UI.ListSearchPromptPosition.Top' is null or not an objectI also try an ajax combobox and same thing.... this is the error I received :Sys.Extended.UI.PositioningMode.BottomLeft is null or not an objectthis is my code : < asp:ScriptManager ID="ScriptManager1" [code]...

Web Forms :: Checkboxlist With AutoPostBack Set To True? forums.asp.net

I have a checkboxlist with autopostback set to true, the checkbox list inside a panel and together they are inside an update panel. when I first check one item everything is fine but when I try to check another one a javascrip error fires. "Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Specified argument was out of the range of valid values. " this is my code: [Code]....

AJAX :: Control While Upgrading Website From 3.5 To 4.0 Frame Work forums.asp.net

i am working on asp.net website. on my web page i submit some data on click at button , this block is inside update panel. this functionality working fine in 3.5 frame work. Now our website is using 4.0 frame work. controls inside update panel giving following error on submting data : Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500.

Web Forms :: Reload/updet Only Part Of The Page On OnSelectedIndexChanged? forums.asp.net

I have a panelA with a drop down list (ddl1) and a panelB with 2 dropdown lists (ddl2 and ddl3). I am disabling PanelB in the page_Load section. When a selection has been made in the ddl1 in panelA, I am enabling panelB in OnSelectedIndexChanged event to enable ddl2 and ddl3. This process is working, but as soon as I make a selection on ddl1, the whole page reloads to enable ddl2 and ddl3, which feels odd. How can I make it just reload panel3 not the whole page? I guess it can be done using AJAX update panel but as soon as I put <%@ Register Assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxtoolkit" %> and <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>, I start getting wierd error: Microsoft JScript runtime error: Sys.ArgumentTypeException: Object of type 'Object' cannot be converted to type 'Array'. Parameter name: array

MVC :: Value Cannot Be Null. Parameter Name: Username - Profile? forums.asp.net

I'm having this very annoying issue.Trying to make ASP.NET profile work in my MVC2 application.This is the C# code: [Code].... Here is the web.config file: [Code].... And finally the controller action: [Code].... As soon as I submit the form I get an error. I can't even debug C# as the error occurs before stepping into public ActionResult Create(UserProfile model, string submitButton)...The error is: Server Error in '/' Application. Value cannot be null.Parameter name: username Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentNullException: Value cannot be null.Parameter name: username Source Error: [Code].... Stack Trace: [Code].... [ArgumentNullException: Value cannot be null. Parameter name: username] System.Web.Util.SecUtility.CheckParameter(String& param, Boolean checkForNull, Boolean checkIfEmpty, Boolean [code]...

AJAX :: Getting Microsoft JScript Runtime Error forums.asp.net

I used the following function in my ASP.Net Project (which contains ajax controls) [Code].... Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. I searched online for solution and got to know its the problem of asp.net ajax. None of solutions (that I found like Add EnableViewState=false, etc.) worked for me.

AJAX :: Error While Using Collapsible Panel In Gridview forums.asp.net

I am using a grid view as a child control inside a grid view and using an collapsible panel extender to show and hide the child grid. Here is my code [Code].... I am getting the following error: Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'cpe' can't be added to the application.

MVC :: Call Javascript, Which Is Part Of PertialView After Ajax Request forums.asp.net

Here is my partial view: <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <script type="text/javascript"> function myFunction() { .... } </script> .... On my page, I have a link that calls controller action to render the partial view: <%=Ajax.ActionLink(..., new AjaxOptions { ..., OnSuccess = "myFunction" })%> return PartialView("TestControl"); However, this does not work. I will get this javascript error: Microsoft JScript runtime error: 'myFunction' is undefined. BTW, I have checked the generated page source after ajax call. I can see myFunction in the source. However, within Ajax's OnSuccess, somehow it does not know about this function. Is there anything I have missed? Is there any way that I can call the script that are part of the partial view that is loaded via ajax?

Error: Microsoft JScript Runtime Error: Sys.InvalidOperationException forums.asp.net

I am using VSTO 2010. On my aspx page, I have nested modalpopup. But, I got error as: Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'MainContent_ContentPlaceHolder2_EditProceduresName_ModalPopupExtender' can't be added to the application. Since there is a no same id on page. I am not getting, what is the cause?

AJAX :: Asp.net - Call A Function Defined In A PartialView After A Request Completes? stackoverflow.com

Here is my partial view: <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <script type="text/javascript"> function myFunction() { .... } </script> ....other html content ... On my page, I have a link that calls a controller action to render the partial view: <%= Ajax.ActionLink(..., new AjaxOptions { ..., OnSuccess = "myFunction" }) %> This is my controller action: ... return PartialView("TestControl"); ... I thought that this is pretty straight forward. Unfortunately, I get the JavaScript error: Microsoft JScript runtime error: 'myFunction' is undefined. When I check the generated page source after the AJAX call, I can see myFunction in the source. However, within AJAX's OnSuccess, somehow it does not know about this function. Is there anything I have missed? Is there any way that I can call the script that are part of the partial view that is loaded via AJAX? (I have tried to use eval(), somehow I could not resolve the function either.)

JQuery :: AjaxControlToolkit Combobox Inside Dialog forums.asp.net

f anyone else had tried putting a ajax control tookit combobox inside a jQuery dialog div/panel? If I do a postback on a page with this dialog I get an error 'Microsoft JScript runtime error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.' If I continue I get and error and this stack trace; [NullReferenceException: Object reference not set to an instance of an object.] AjaxControlToolkit.ComboBox.LoadPostData(String postDataKey, NameValueCollection postCollection) in d:hgactServerAjaxControlToolkitComboBoxComboBox.cs:681 If I use a standard DropDownList there is no problem. I will stick to the standard control for now but I would prefer to use the toolkit combobox.

AJAX :: Microsoft JScript Runtime Error forums.asp.net

To demonstrate my issue in ver simple. I have a button in Ajax updatepanel section. When i try to call the script from button click event i am getting the following error. [Code].... [Code].... My error code is.. Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near '<Script Language = ''.

Close Modal Box Via "Esc" Key? www.codingforums.com

I have a modal box, which pop ups during error. This modal box is based on prototype. I use Esc key to remove the pop ups. Unfortunately, I have been sending multiple AJAX request at the same time when pop ups appear. If the user may click the Esc key for multiple times, the browser also cancels it AJAX responses. I am trying this Esc key event to remove only the pop ups but not canceling the AJAX responses.

Accessing Calendar On .net UserControl By Javascript? stackoverflow.com

I'm working on an ASP.NET app.I'm using a UserControl for a year calendar.This UserControl has 12 asp.net calendar controls (for the 12 months of a year) I'm trying to build a jscript function that can access to one (or more) of the 12 month calendar, but I can't access them. example: "<asp:Calendar ID="CalendarJanuary" runat="server"></asp:Calendar>" here's my function function SetCalendar(controlId) { document.getElementById(controlId+'_CalendarJanuary').VisibleDate = somedate } but this is allways throwing an error:'Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object' it seems is not finding the calendar and I'm sure i'm passing the right controlID

Using Radio Button List / An Error Has Occured: Sys.ArgumentTypeException forums.asp.net

I am USing a radio button list in my asp.ajax enabled web site. i have used a function to update a column value. when i select a value and click on save An error has occured: Sys.ArgumentTypeException: Object of type 'String' cannot be converted to type 'Function'.Parameter name: onSuccess this is the error message i am getting.

AJAX :: PopupControlExtender Not Working On TabPanel? forums.asp.net

I have two pages with TabControls and the tabcontrols have several tabpanels. On one page there are some popupcontrol extenders on the first tab, and that page works fine. On the second page, the popupcontrolextenders are on the second tab. When that page loads, I get the following jscript error: Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors. Parameter name: element I've tried setting the Enabled property to false for these popupcontrolextenders until that tab becomes visible. This prevents the error on page load, but but then the same error happens as soon as that tab becomes visible. Is it possible to use a popupcontrolextender on a tabpanel, or should I give up and try something different?

AJAX :: Object Of Type Sys.UI._Time' Cannot Be Converted To Type Sys.UI._Timer? forums.asp.net

I have a main page with several menu choices, one of which launches an ajax enabled window. The following pattern occurs:If I: 1) Launch site 2) Select menu choice listed on master page that is not ajax enabled 3) Select menu choice that launches ajax enabled popup. 4) close pages All is OK.If I repeat the steps, but in step 2 I select an ajax enabled page and them launch popup, I get the following error:Message: Sys.ArgumentTypeException: Object of type 'Sys.UI._Timer' cannot be converted to type 'Sys.UI._Timer'.I have spent days on this and have been unable to solve it. If I remove the ajax ToolkitScriptManager and update panels from any of the pages and launch the popup, it works. Can anyone offer some guidance?that are not ajax enabled and then selethat includes an ajax enabled popup window. T

Value Cannot Be Null. Parameter Name: Text? stackoverflow.com

VS2010 .NET 4 - This simple app works using my local system. When I publish it on an IIS 7 web server, I get this error when the application runs this Linq query with a containes function. var results = view_UserInfoRepository.View_UserInfo.Where(x => x.Email.Contains(eMail)).OrderBy(x => x.Email); Server Error in '/' Application.Value cannot be null. Parameter name: textDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentNullException: Value cannot be null.Parameter name: text Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [ArgumentNullException: Value cannot be null. Parameter name: text] System.Data.Linq.SqlClient.SqlHelpers.GetStringContainsPattern(String text, Char escape, Boolean& usedEscapeChar) +595083 [code]...

Ajax :: Show BlockUI Modal Dialog On Error()? stackoverflow.com

When I click a form's submit button, this calls the startValidateFormParameters() function. In this function, I block the UI with BlockUI and run an AJAX request that validates some information in the form. If the form data is bad in a certain way, the AJAX url returns a 403 error response, which fires the AJAX request's error() call and the 403-specific condition. If I use alert() within the 403-specific error call, the UI remains blocked (as desired). What I would like to do — instead of using an alert() dialog — is use BlockUI's modal dialog, which looks a lot nicer. However, once the error code is called, the error modal dialog pops up and disappears almost immediately, as the AJAX call stops and the UI is unblocked. How do I keep the UI blocked so that the error modal remains displayed? code...

Ajax :: C# - Make Validation Work On An MVC Modal Box? stackoverflow.com

I am using JQM to produce AJAX modal boxes.I have a normal page, and on that page, I have a link that launches the Ajax model box.The Ajax modal launches fine, and it simply has a textbox and a button.The model behind it has Required on that textbox, but, I can't figure out how to implement validation on it.Currently, if there is text in the box, everything works fine and the box gets hidden. If there isn't any text in the box, I currently just return null from the controller and the box still gets hidden.The final Ajax page with the form has the following code: @using (Ajax.BeginForm(new AjaxOptions { UpdateTargetId = "TheBigList", InsertionMode = InsertionMode.Replace,[code]... I hope this is straight forward and I will happily provide other code, but as it doesn't work, I am not sure how relevant it is! HideModal is just as it says, and I know OnFailure deals with connection rather than validation (I have thought about returning an error code to cheat!), but, I have tried many combinations that I have read on this site wihtout much luck.The closest I though was by implementing $.validator.unobtrusive.parse("#form0"); , However, I can't work out where/how to add this.

Validating AJAX Cascading Drop Down Lists? stackoverflow.com

I am using the AJAX Cascading drop down list but want to add event validation e.g. the compare validators. As the cascading drop down list requires the page event validation to be disabled what is the best way to do the validation? Validation Attempt: I have tried to use a custom validator which calls a Javascript function but it doesnt seem to be picking up the control. I get the following error Microsoft JScript runtime error: Object required function ValidateCostCentCat(source, arguments) { var countryList = document.getElementById("ddlCategory"); if (null != countryList) { var iValue = countryList.options[countryList.selectedIndex].value; if (iValue == "Select Category") { arguments.IsValid = true; } else { arguments.IsValid = false; } } } The mark-up for the custom validator is <asp:CustomValidator ID="valcustCategory" runat="server" CssClass="error" Display="Dynamic" ValidationGroup="DirectHire" ClientValidationFunction="ValidateCostCentCat" ErrorMessage="Please select a Cost Centre Category from the drop down list provided.">!</asp:CustomValidator>

AJAX :: User Control With ModalPopup In A Repeater? forums.asp.net

I have a user control that contains a modal popup extender. I am using the user control inside of a repeater so it could be shown multiple times on a page. Everything works fine if the repeater only contains one item. When there are multiple user controls on the page I get the following error: "Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'PosAdjPopup' can't be added to the application." How do I get my user control to work with the modal popup extender when it will be used multiple times on a page? Can I keep the modal popup extender in the user control or do I have to put it on my aspx page and trap the event on the button click?

Parsing Valid JSON - Syntax Error And Any Attempts To Access The JSON Data Returns NULL Values? www.phpfreaks.com

I am using prototype to send JSON information to a PHP file which will then use the data to update a database, the AJAX presently looks as follows: Code: [Select]function saveprofile() { var email = document.getElementById("email").value;[code].... The problem is the PHP constantly returns the following error: Last error : Syntax error and any attempts to access the JSON data returns NULL values. I have looked at several online examples and cannot see where I might be going wrong, and although users have had problems with syntax errors it normally relates to incorrect JSON.