question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModalPopup - The 'Unable to set property 'actControlType' of undefined or null reference' error occurs in IE10

See original GitHub issue

Hello,

I have a WebForm app. using .NET 4.5 and AjaxControlToolkit 16.1 and in IE10 I get a first NotFound javascript error in ModalPopup.js at line 131:

this._foregroundElement.parentNode.removeChild(this._backgroundElement);

and then an "Unable to set property ‘actControlType’ of undefined or null reference’ at line 180:

this._backgroundElement.dataset.actControlType = "modalPopupBackground";

It works fine in IE Edge, Chrome and Firefox. Not sure if it counts but the ModalPopupExtender that fails is declared in a TabPanel (complete hierarchy is asp:Content > ajaxToolkit:TabContainer > ajaxToolkit:TabPanel > ContentTemplate > ajaxToolkit:ModalPopupExtender)

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Tagmar2commented, Dec 28, 2016

html5-dataset.js works!

My solution:

If Request.Browser.Browser = "IE" Then
            Dim V as string = Request.Browser.Version

            If V= "10.0" OrElse V= "9.0" Then
                ToolkitScriptManager1.Scripts.Add(New ScriptReference("~/Scripts/html5-dataset.js"))
            End If
  End If
1reaction
AlekseyMartynovcommented, May 27, 2016

@motleydrew

I’m seeing this as closed, but I do not see the resolution.

We use the “Closing issues via commit messages” practice. The “Closed” state means that a fix has been merged into the master branch and will be available in the next release of Toolkit. Before that, it’s possible to clone or download the Git repository and compile a custom build from source code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ajaxcontroltoolkit - Ajax Toolkit modal popup - Stack Overflow
I get two errors - 'NotFoundError' - script5022, scriptResource.axd(131,13) and 'Unable to set property 'act Control type' of undefined or null reference ......
Read more >
AjaxControlToolkit Versions - Open Source Agenda
NET AJAX Control Toolkit is a classic set of ASP. ... The 'Unable to set property 'actControlType' of undefined or null reference' error...
Read more >
How To Fix Ajaxtoolkit Javascript Error - Winbytes.org
Unable To Set Property 'actcontroltype' Of Undefined Or Null Reference ... Ensure the correct version of the scripts are referenced. If you are...
Read more >
The ajaxcontroltoolkit from DevExpress - GithubHelp
NET AJAX Control Toolkit is a classic set of ASP. ... Unable to set property 'actControlType' of undefined or null reference. This occurs...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found