Answered by:
ajax issue

Question
-
User1853342071 posted
Hi friend,
I using ajax modalpopups , on my pc and testing pc, it is working well.
After deployment on real server, all ajax controls are not working anymore, all popup can not prompt anymore.
Please tell what is root cause and how can i solve?
I just publish my project and deploy on server,
For ajax, i just add reference ajaxcontroltoolkit to my project
But now not working for ajax modalpopup.
Pls tell me how can i solve?Wednesday, March 4, 2015 5:03 AM
Answers
-
User1853342071 posted
hi, all, I found the solution for this issue.
AjaxToolkitManager has one property called "ScriptMode".
I just set to ScriptMode=Debug, then all ajax controls become working.
I think default is ScriptMode=Auto, I don't know what does scriptmode mean, what is the impact of changing this property?
somebody know?
regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, March 18, 2015 10:13 PM
All replies
-
User61956409 posted
Hi skko,
Thanks for your post.
After deployment on real server, all ajax controls are not working anymore, all popup can not prompt anymore.Do you get any error message?
Pls tell me how can i solve?You could refer to the following links which discussed about similar issue.
- http://forums.asp.net/t/1497451.aspx?Ajax+control+Tool+kit+Extenders+not+working+after+deployment
- https://groups.google.com/forum/#!topic/dotnetdevelopment/0HrX4khsHsI
- http://stackoverflow.com/questions/9230077/ajaxcontroltoolkit-not-working-after-publish-asp-net-c-sharp
Best Regards,
Fei Han
Wednesday, March 4, 2015 9:35 PM -
User-1506965535 posted
But now not working for ajax modalpopup.
Pls tell me how can i solve?Hi,
If your ajax is not working, Please check the version in the web.config file. I suggest you better download it again and install it. Please find the link to download the ajax.
https://ajaxcontroltoolkit.codeplex.com/
Or else, try looking for your solution from the below links:-
http://geekswithblogs.net/Jenson/archive/2011/06/13/having-problem-with-ajax-modalpopupextender.aspx
Thursday, March 5, 2015 1:41 AM -
User1853342071 posted
hi, friends,
thanks for all reply.
I found some javascript error on IE when I view in developer mode (F12).
the error is:
Script445: object doesn't support this action
ScriptResource.axd, line 2 character 44750on my laptop and testing, I never have this error , that 's why it is working.
But on the main server, I got this ScriptREsource.axd error.
Please help me to resolve it.
Regards
Sunday, March 8, 2015 6:33 AM -
User555306248 posted
Please make sure you install the correct ASP.NET framework on your server. The AJAXControlToolkit has actually been integrated into this framework and you are not required to install anything else on the server.
Monday, March 16, 2015 12:07 AM -
User1853342071 posted
hi, all, I found the solution for this issue.
AjaxToolkitManager has one property called "ScriptMode".
I just set to ScriptMode=Debug, then all ajax controls become working.
I think default is ScriptMode=Auto, I don't know what does scriptmode mean, what is the impact of changing this property?
somebody know?
regards
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, March 18, 2015 10:13 PM