Showing posts with label null. Show all posts
Showing posts with label null. Show all posts

Monday, March 26, 2012

window.debug.isDebug is null or not an object

I have user control which contains UpdatePanel. For UpdatePanel I have tried to put UpdatePanelAnimationExtender, but there's coming javascipt error which says "window.debug.isDebug is null or not an object". Without UpdatePanelAnimationExtender UpdatePanel is working great. I'm using ASP.NET 2.0 and latest AJAX Framework and ControlToolkit. What could be wrong?

Thanks
juster

You likely have old scripts from an AJAX CTP or Beta cached on your web server or on your browser. Reset IIS and make sure you do a CTRL-F5 on your browser.

window.debug.isDebug is null

While using updatepanel, I'm getting a javascript error window.debug.isDebug is null. Though updatepanel gets updated, some events like ajaxcontroltoolkit's updatepanelanimation etc. are not working. I am experiencing this problem only in machine where AJAX Futures December CTP was installed. Before installing AJAX I have removed all previous ajax versions also. Anyone else met with the same kind of error?

Maybe your AjaxToolkit isn't newest,The newest version haven't the problem.

window.debug has no properties since upgrade from RC to RTM

Hi!

Since I upgraded from AJAX RC to AJAX RTM I get following erros:

'window.debug.isDebug' is null or not an object -> IE7
window.debug has no properties -> Firefox
if (!window.debug.isDebug) { ...ScriptResource.axd (line 107)

What can be wrong?

Thanks for your help

Martin

The problem is fixed now. It seems that the control toolkit was not up to date within the project although I used "Rebuild Solution" and followed the release notes.

window.opener.document.TextBoxRateLockDate is null or not an object

My ASP.Net page has a calendar picker link with an onclick event as shown below:

<a href="http://links.10026.com/?link=javascript:;" onclick="calendarPicker('TextBoxRateLockDate');" title="Pick Date from Calendar"><img src="http://pics.10026.com/?src=../../../../App_Images/simplecalendar/calendar.gif" border="0" /></a>

The above link is inside of a MultiView control, which is inside an UpdatePanel control. The link pops-up the date picker calendar just fine but when I select a date , I get the following error:

Microsoft Jscript runtime error:
'window.opener.document.TextBoxRateLockDate' is null or not an object

How can I resolve this issue?

Hi,

This is a pure javascript issue.

I'd suggest using document.getElementById() method to find the textbox. Usually like this: window.opener.document.getElementById("TextBoxRateLockDate")

Hope this helps.