Last post May 03, 2012 08:26 AM by Chancellor
May 01, 2012 01:00 PM|Chancellor|LINK
I am using a modal pop up extender which works fine when I run it in Visual Studio 2010. Once compiled and sent to the "live site", it doesn't work.
Firefox's firebug error console reports the following:
Unfortunately this is not a publicly visible site so I cant give a URL to look at. Basically the popup is visible immediately on seeing the page. It isn't hidden until someone hits the button. Any ideas?
May 01, 2012 01:56 PM|adamturner34|LINK
Popup blocker? Try holding down Ctrl + Click
May 01, 2012 01:57 PM|Chancellor|LINK
Nope. Not pop up blocker. It works just fine on development. It breaks when I move it live.
May 01, 2012 11:06 PM|chetan.sarode|LINK
Firstly, you'd better download a sample
here. It should work on .NET Framework 2.0. If ASP.NET Ajax Extension v1.0 is not installed, please install it first. You can get the install file
here. (ASP.NET AJAX Extension for .NET Framework 3.5 is integrated into .NET Framework 3.5).
If it works, please compare it with your sample. Especially, the web.config part.
If all these cannot figure out your problem, please download the version of .NET Framework 2.0
here (the version 1.0.20229 with source code). Before use it, please recompile it first. The installation steps, please follow the first two video tutorials
If you are using .NET Framework 2.0, please compare your sample's web.config with the downloaded sample. Otherwise, if you are using .NET Framework 3.5, please compare it with the downloaded sample either.
2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
2009-05-13 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 SP1 and Visual Studio 2008 SP1.
May 02, 2012 07:34 AM|Chancellor|LINK
The error is what I posted in my first post. It's a 404 not found error.
I used the sample that you posted to get it working and again, it works fine within Visual Studio. It only stops working when I use it on my hosting service.
May 02, 2012 09:09 AM|jamshed alam|LINK
Set the target control of modalpopup extender to linkbuttong and and make linkbuttong visible=false
on the click or on whtever event u want to show modalpopup,call modalpopup.Show() method
May 02, 2012 09:26 AM|Chancellor|LINK
I'd really like to know WHY the modalpopup works on Dev just fine but gives me an error on live.
May 03, 2012 02:38 AM|Song-Tian - MSFT|LINK
Please make sure you publish the website correctly. And you may also try that on another server.
May 03, 2012 08:26 AM|Chancellor|LINK
I have tried another server and it still fails. After doing a lot of research on this, I have abandoned the "pre-packaged" modal popup because it seems there are more than a few problems with it. I wound up spending less time yesterday re-writing my own
popup which works consistently.