LCJ
LCJ

Reputation: 22662

Ajax Client-side framework Error When Running HTML code

I have a aspx page that uses ajax modal popup extender. I run the project successfully from Visual Studio, it works correctly with IE and Firefox as default browsers.

Now I took the html code and created an html file and put in the proper location. When I open the html file by double clicking on it, it is saying script error like “ASP.Net Ajax Client-side framework failed to load”. Why is it happening when I create an HTML file and open it; and not happening when I run the aspx page from Visual Studio. How to overcome it? What should be the best method to take care this in deployment to production?


Note: I have not entered any entries in the Web.Config related to Ajax. We are not using any update panel. We have used ToolkitScriptManager in the aspx page. Note: There is one more message after this – ‘Sys’ is undefined.


Upvotes: 0

Views: 151

Answers (1)

rt2800
rt2800

Reputation: 3045

Are the path of microsoft AJAX related JS files still valid/pointing to correct folder after you copy HTML to a location?

Upvotes: 1

Related Questions