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: TSM_HiddenField_=ctl00_ContentPlaceHolder1_ToolkitScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d3.5.51116.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2a06c7e2-728e-4b15-83d6-9b269fb7261e%3ade1feab2%3af2c8e708%3a8613aea7%3af9cec9bc%3a3202a5a2%3aa67c2700%3a720a52bf%3a589eaa30%3aab09e3fe%3a87104b7c%3abe6fb298
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?
what kind of error you are getting on modalpopup. Is there any javascript error on left corner of IE or some other error?
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
here.
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.
Note: Version 3.0.20229
2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229 You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
Version 3.0.30512 2009-05-13 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 SP1 and Visual Studio 2008 SP1.
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.
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.
Chancellor
Member
2 Points
18 Posts
Modal pop up works on dev fails on live
May 01, 2012 05:00 PM|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:
TSM_HiddenField_=ctl00_ContentPlaceHolder1_ToolkitScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d3.5.51116.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2a06c7e2-728e-4b15-83d6-9b269fb7261e%3ade1feab2%3af2c8e708%3a8613aea7%3af9cec9bc%3a3202a5a2%3aa67c2700%3a720a52bf%3a589eaa30%3aab09e3fe%3a87104b7c%3abe6fb298
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?
adamturner34
Contributor
3890 Points
971 Posts
Re: Modal pop up works on dev fails on live
May 01, 2012 05:56 PM|LINK
Popup blocker? Try holding down Ctrl + Click
Chancellor
Member
2 Points
18 Posts
Re: Modal pop up works on dev fails on live
May 01, 2012 05:57 PM|LINK
Nope. Not pop up blocker. It works just fine on development. It breaks when I move it live.
chetan.sarod...
All-Star
65739 Points
11138 Posts
Re: Modal pop up works on dev fails on live
May 02, 2012 03:06 AM|LINK
what kind of error you are getting on modalpopup. Is there any javascript error on left corner of IE or some other error?
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 here.
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.
Note:
Version 3.0.20229
2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229
You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
Version 3.0.30512
2009-05-13 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 SP1 and Visual Studio 2008 SP1.
Some tutorials:
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/
http://www.asp.net/ajax/downloads/
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AtlasControlToolkit
http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-47-cs.aspx
http://www.asp.net/learn/ajax-videos/video-81.aspx
Best regards,
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
Chancellor
Member
2 Points
18 Posts
Re: Modal pop up works on dev fails on live
May 02, 2012 11:34 AM|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.
jamshed alam
Member
319 Points
105 Posts
Re: Modal pop up works on dev fails on live
May 02, 2012 01:09 PM|LINK
Hi,
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
Chancellor
Member
2 Points
18 Posts
Re: Modal pop up works on dev fails on live
May 02, 2012 01:26 PM|LINK
I'd really like to know WHY the modalpopup works on Dev just fine but gives me an error on live.
Song-Tian - ...
All-Star
43699 Points
4304 Posts
Microsoft
Re: Modal pop up works on dev fails on live
May 03, 2012 06:38 AM|LINK
Hi,
Please make sure you publish the website correctly. And you may also try that on another server.
Feedback to us
Develop and promote your apps in Windows Store
Chancellor
Member
2 Points
18 Posts
Re: Modal pop up works on dev fails on live
May 03, 2012 12:26 PM|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.