AJAX :: ComboBox Runtime Error When Deleting The Text / '_optionListItems[...].text' Is Null Or Not An Object
Feb 2, 2011
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.
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.
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.
i am using urlrewritingnet for url rewriting. at one of my page i am using auto complete extender . it works fine for first page weirdly because also that page is getting url rewriting.
now let me explain you
my normal page is
here what i do for url rewriting
ok now problem does not happen when i type this : domain/Pokedex.aspx. but i when i type this problem occurs : domain/Pokedex-2 which is equal to domain/Pokedex.aspx?page=2. here is the problem screen shot but when i type this problem does not happen : domain/Pokedex.aspx?page=2 so it is about url rewriting i guess
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?
I am upgrading a website from .Net 1.1 to .Net 2.0 Framework.My Code is working well in mozilla but the same code is creating one problem in explorerthat is :- "Microsoft JScript runtime error: 'document.Form1.txtScrollY' is null or not an object"It is showing 3 options for every action i do in the net Break , Continue, Ignore.
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
On debugging from IE, the highlighted error is in MicrosoftAjax.js in the piece of code
When the WebPage loads i would like for the Text to be cleared in Ajax ComboBox and/or DropDownList. However Setting the text to nothing or null doesn't seem to work. So I did some searching and found this...
Is there another way to clear the text other then adding a null item to the list? I don't really want the user to have a selection of "null", this seems like a hack job.
I am using the combo box for my project and I am having some odd behaviour from combobox...
i am using this combobox inside a formview control...once i click on combobox it is showing the list items at the bottom of formview not next to combobox control...I think it is taking the top and left values from formview offset.
Ik keep getting this sort of errors when using Ajax controls.The colorpicker extender and the Cascaded dropdown generate this kind of error in my application.I have a scriptmanager in my masterpage.I already tried using a scriptmanager proxy.What could cause these errors?I have the controls inside template fields of data presentation controls.
While testing an AJAX enabled web app I sometimes stumbled upon this script error: 'this.get_element().style' is null or not an object. It was a hard nut to crack this one.This was the actual message
'this.get_element() is null or not an object'
The situation:AJAX Enabled web app using slider extenders . In some circumstances a script error is generated. In most cases it is not.
The reason:It turned out that the error happens at times when a new Postback is triggered while a previous one hasnt finished yet. That is quickly changing the sliderhandle's position in this scenario. The Postback where triggered because i had set the AutoPostBack property of the extended TextBox to "true".I have some code running inside the event handler