Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

ASP.NET custom control library + ModalPopupExtender

$
0
0

Hi,

I have an ASP.NET web forms application. In my main project I have a project reference to a custom controls class library (fwCommonWebControls.dll). When I run the app in IE then built in script debugger flags an error whenever an instance of one of my custom controls is created:

$create(fwCommonWebControls.ctlComboBox, null, null, null, $get("mainContent_cbxProjectFilter"));

produces the error: 

SCRIPT5009: 'fwCommonWebControls' is undefined 

As far as i can see, i have all the required references to my class library, everything compiles, and if i ignore the error the page loads fine and the controls work. My real problem comes because i have an AJAX Toolkit ModalPopupExtender, which, when i click the button run the popup, gives me the same error and doesnt launch the popup.

Stranger still is that after a couple of clicks the ModalPopupExtender works!!

Please help, I am no ASP expert and this is driving me nuts!

I am using VS2013 .NET 4.5 running IIS Express


Justin Davenport


Viewing all articles
Browse latest Browse all 5678

Trending Articles