I have WebGrid v8.2 in my wepage and have copied all the required dll's to the bin folder in the server. When i access my page, it throws a javascript error in IE7.0 which says "Object Expected". The grid is rendered properly and i don't have any javascript in my page. I don't have AJAX either.
I remember reading that the script files are added automatically to GAC for CLR 2.x and above but can't figure out why this happens. Does anybody have any idea?
I'm not able to scroll (horizontal) the page too. Any help is appreciated.
Thanks
Hello,
From the description of the issue, it sounds as though the script files are missing on the client. I would recommend using a tool like fiddler to see what requests are being made and if any of the requests come back with 404. If you are getting 404s were the requests to WebResource.axd or to actual JavaScript files.
If the requests are to actual files, then most likely the web.config has an entry to specify where to load the JavaScript files from and if so they would need to be deployed when you deploy your web application. In this case you would either need to modify the web.config file to not include this setting or deploy the JavaScript files when you deploy your web application.
Let me know if you have any questions with this matter.
Alan