want to stop auto generation of script on ajaxproject
Hello to all,
I am working on website project. Whenever when I tried to compare my website with Google Page speed, I am getting "runtime added <script > tag" message. Can anyone tell me how to stop auto generation of script on ajaxproject. Please help me.
Thank you.
Re: want to stop auto generation of script on ajaxproject
Hey it is normal problem. Such type of problem happened with lot's of people. If you are using an AjaxControl on your web site then you may likely get such type of problem. In this case you can not stop auto generation of script on ajaxproject. The control has to auto-generate the script to run successfully. If you really want to stop auto generation of script on ajaxproject then you can remove that control to fix this problem.
Re: want to stop auto generation of script on ajaxproject
You get script when there is error in your code. It may some run time error or compile time error. In this case you have to first check whether your code is right or not. For this purpose you can use Visual Studio 2008. It allow you to see all the javascripts (dynamically) generated. After that you can get solution from your solution explorer.
Re: want to stop auto generation of script on ajaxproject
Hey it is very easy process to stop auto generation of script on ajaxproject. When you get this script again try to find one check box stating that "select for continue with this script", just select that check box and then again try to run your program. This time you will not get any problem. I hope my suggestion will help you.
Re: want to stop auto generation of script on ajaxproject
Hey it is a client side script and you can not delete it easily. It has to generate for doing your work properly. In this case you can minimize that script to fix this problem Or you can group all the auto generated script into one file to get rid out of this problem.
I hope my suggestion will help you.